Alexxander Posted September 6, 2013 Share Posted September 6, 2013 hi is it possible to make a GUI on top of everything even on top of start menu of windows 7 ? so if my script is running and the user pressed start menu my script GUI will be on the top of start menu Link to comment Share on other sites More sharing options...
Solution DW1 Posted September 6, 2013 Solution Share Posted September 6, 2013 Sure, #include <WindowsConstants.au3> #include <GUIConstants.au3> $hGUI = GUICreate('test', 400, 400, Default, Default, Default, $WS_EX_TOPMOST) GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch ;This line is here so that if other on top windows like the taskbar or task manager go over our window, we take the top back WinSetOnTop($hGUI, '', 1) WEnd Alexxander 1 AutoIt3 Online Help 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