Laetterman Posted October 9, 2006 Share Posted October 9, 2006 hi guys, is it possible to use the fade-out effect for more than one window at the same time? #include <GUIConstants.au3> DIM $gui[2] $gui[0] = GUICreate("Gui0", 300, 300, 10, 10 ) GUISetState() $gui[1] = GUICreate("Gui1", 300, 300, -1, -1, BitOr($WS_POPUP, $WS_BORDER), BitOr($WS_EX_TOPMOST,$WS_EX_TOOLWINDOW)) GUISetState() Sleep(1000) DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $gui[0], "int", 1000, "long", 0x00090000);fade-out thanx! Link to comment Share on other sites More sharing options...
BigDod Posted October 9, 2006 Share Posted October 9, 2006 #include <GUIConstants.au3> DIM $gui[2] $gui[0] = GUICreate("Gui0", 300, 300, 10, 10 ) GUISetState() $gui[1] = GUICreate("Gui1", 300, 300, -1, -1, BitOr($WS_POPUP, $WS_BORDER), BitOr($WS_EX_TOPMOST,$WS_EX_TOOLWINDOW)) GUISetState() Sleep(1000) For $i = 0 to 1 DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $gui[$i], "int", 1000, "long", 0x00090000);fade-out Next Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Laetterman Posted October 9, 2006 Author Share Posted October 9, 2006 the two windows should fadeout -at the same time-, not one after an other! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now