Sign in to follow this  
Followers 0
boringduck

Set On Top For Msgbox

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

This is already great... now is it possible to set the timeout value on cancel instead of OK????

Regards

Share this post


Link to post
Share on other sites

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

Share this post


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
Sign in to follow this  
Followers 0