vickerps Posted July 18, 2005 Share Posted July 18, 2005 (edited) Just created a script that would benefit using the $WS_EX_TOPMOST to keep the GUI window on top. however it still stays on top when a msgbox is used. I would of liked to have the msgbox on top or at lease to be able to tell the msgbox to move co ordinates. has anyone used this yet and have a solution. I now strictly speaking there isn't a problem but it make the program look like it frozen because you can't see the msgbox Edited July 18, 2005 by vickerps Link to comment Share on other sites More sharing options...
blindwig Posted July 18, 2005 Share Posted July 18, 2005 Just created a script that would benefit using the $WS_EX_TOPMOST to keep the GUI window on top.however it still stays on top when a msgbox is used. I would of liked to have the msgbox on top or at lease to be able to tell the msgbox to move co ordinates.has anyone used this yet and have a solution. I now strictly speaking there isn't a problem but it make the program look like it frozen because you can't see the msgbox<{POST_SNAPBACK}>I ran into the same problem with a program I wrote. My solution was to either hide or minimize the "main" window right before your message box comes, then restore it afterwards. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
therks Posted July 18, 2005 Share Posted July 18, 2005 I always just made the msgbox topmost as well. Now inputbox, that's a problem. It doesn't get an topmost attribute. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
blindwig Posted July 18, 2005 Share Posted July 18, 2005 I always just made the msgbox topmost as well. Now inputbox, that's a problem. It doesn't get an topmost attribute.<{POST_SNAPBACK}>I haven't tried it, but I'm guessing that WinSetOnTop() would work for that? My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
vickerps Posted July 19, 2005 Author Share Posted July 19, 2005 the WinSetOnTop() works. thanks However i cannot get it to work with a msgbox. I solved the problem with setting the gui form ontop to either 1 or 0 when necessary. Can you use WinSetOnTop() with a msgbox? Link to comment Share on other sites More sharing options...
Helge Posted July 19, 2005 Share Posted July 19, 2005 No.It doesn't work with MsgBox as the script stops executing as long as a MsgBoxis shown. Doesn't it say anything about this in the docs ? If not, it should be.At least it doesn't say anything in the online docs..Anyway, Saunders were refering to the the flag-value 262144.Try using that. 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