Jump to content
Tuts 4 You

Start And Close Up Style !


Recommended Posts

i saw a couple of works by a team...where the main dialog box opened from a point......

i mean froma point to the dialog box....

i was wondering how does one proceed to attain this !



Link to comment

mess around with the "AnimateWindow"

The AnimateWindow function enables you to produce special effects when showing or hiding windows. There are three types of animation: roll, slide, and alpha-blended fade.


heres an example

invoke AnimateWindow,hWnd,1000,AW_CENTER+AW_ACTIVATE
invoke AnimateWindow,hWnd,1000,AW_CENTER+AW_HIDE

an example app using this method


Source here

Animate.rar :thumbsup:

I hope this helps :^

also dont forget you can change how long it takes it to expand/shrink

invoke AnimateWindow,hWnd,1999,AW_CENTER+AW_ACTIVATE  - Slow
invoke AnimateWindow,hWnd,199,AW_CENTER+AW_ACTIVATE -Fast
Edited by KrUeGeR
Link to comment

Thanx all....

Animate window is kool to play around with

btw....When using AnimateWindow the transparent buttons are not handled well and are drawn as visible in the foreground.

is there anyway to handle this situation !


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...