Jump to content

Recommended Posts

Posted

Hey,

Is there a way to set your msgbox on top of your applications, so the user needs to answer the msgbox before he can continue working?

Is there also a way to change the default value after timeout in the msgbox(3,"")

now its always ok but it should be cancel?

Thanks for the help....

Posted

Try a SYSTEM_MODAL message box, using the top-most attribute. The timeout is the fourth parameter, so

MsgBox(4096 + 262144 + 3, "Title", "Test", 10)

should be a system modal message box with a 10 second timeout

GrahamS

Posted

If you do this : MsgBox(4096 + 262144 + 3, "Title", "Test", 10) after 10 seconds he will close the msgbox with the ok buttom automaticly.

this should be the cancel buttom.....

  • Administrators
Posted

$ans = MsgBox(4096 + 262144 + 3, "Title", "Test", 10)

MsgBox(0, "", $ans)

Prints -1 = time out


 

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