Animate Window In PowerBuilder
Declare External Functions
1 | Function Boolean AnimateWindow ( Long hwnd, Long dwtime, Long dwflags ) Library "user32" |
Example call function event open of window
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Constant Long AW_HOR_POSITIVE = 1 Constant Long AW_HOR_NEGATIVE = 2 Constant Long AW_VER_POSITIVE = 4 Constant Long AW_VER_NEGATIVE = 8 Constant Long AW_CENTER = 16 Constant Long AW_HIDE = 65526 Constant Long AW_ACTIVATE = 131072 Constant Long AW_SLIDE = 262144 Constant Long AW_BLEND = 524288 Long ll_handle ll_handle = Handle ( This ) AnimateWindow(ll_handle,1000,AW_SLIDE+AW_VER_POSITIVE+AW_ACTIVATE) |
Find Projects On Github click here
Good Luck!