Jump to content

Recommended Posts

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 by vickerps
Link to post
Share on other sites

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

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

No.

It doesn't work with MsgBox as the script stops executing as long as a MsgBox

is 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 post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...