AzKay Posted March 1, 2008 Share Posted March 1, 2008 #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 454, 193, 115) GUISetState(@SW_SHOW) Opt("TrayMenuMode", 1) $test = TrayCreateItem("ws_popup") $exit = TrayCreateItem("exit") While 1 $nMsg = TrayGetMsg() Switch $nMsg Case $test GUISetStyle($WS_POPUP) Case $exit Exit EndSwitch WEnd Any way to make the effect instant? Or else, it doesnt take effect until the windows been minimized/restored. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 1, 2008 Moderators Share Posted March 1, 2008 #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 454, 193, 115) GUISetState(@SW_SHOW) Opt("TrayMenuMode", 1) $test = TrayCreateItem("ws_popup") $exit = TrayCreateItem("exit") While 1 $nMsg = TrayGetMsg() Switch $nMsg Case $test GUISetStyle($WS_POPUP) Case $exit Exit EndSwitch WEnd Any way to make the effect instant? Or else, it doesnt take effect until the windows been minimized/restored.What do you mean instant, it happens as soon as I press it on mine. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
AzKay Posted March 2, 2008 Author Share Posted March 2, 2008 Odd. Must be a problem at my end then. On my end, When I hit ws_popup in the tray, The window looks the same, Except the border/caption is "frozen" until I minimize, then restore. Then its borderless/captionless. # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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