vickerps 0 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 Share this post Link to post Share on other sites
blindwig 1 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 Share this post Link to post Share on other sites
therks 17 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 Share this post Link to post Share on other sites
blindwig 1 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 Share this post Link to post Share on other sites
vickerps 0 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? Share this post Link to post Share on other sites
Helge 1 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. Share this post Link to post Share on other sites