Jump to content

GUI Windows + Always On Top


DarkBoost
 Share

Recommended Posts

I have created a massive GUI (for me anyways) which is 3500+ lines spread over 10 includes and just added the AlwaysOnTop function to the GUI [$WS_EX_TOPMOST]

and just discovered (knew but had forgotton that AutoIT) that ALL my popup windows: FileSelectFolder, FileOpenDialog, FileSaveDialog, MsgBox etc... all sit behind the GUI. I know that I need to link them to the GUI by adding the $hwnd eg. MsgBox(0, $title, $text, $timeout, $hwnd) - just wondering if there is another way of achieving this results without having to go through all lines of code and updating each one manually like eg. BitOR($WS_EX_TOPMOST, $WS_EX_TOPMOST_ALLPOPUPS) etc. ?

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...