Jump to content

GUI on top on top of windows 7 start menu


Go to solution Solved by DW1,

Recommended Posts

  • Solution

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
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...