Jump to content
Sign in to follow this  
egalvez

How do I keep a dialog on top (system modal)?

Recommended Posts

egalvez

Hi. I know how to keep a message box on top, which I think is called system modal, but how do I keep a dialog (GUI) on top of all other applications? I don't see a GUICreate parameter that addresses this. What am I missing?

Share this post


Link to post
Share on other sites
MHz

Have a look here.

$WS_EX_TOPMOST is a style.

WinSetOnTop() is a function.

Share this post


Link to post
Share on other sites
egalvez

Thank you. I couldn't get anywhere with the $WS_EX_TOPMOST style, but the WinSetOnTop() function worked fine.

Share this post


Link to post
Share on other sites
jpm

Have a look here.

$WS_EX_TOPMOST is a style.

WinSetOnTop() is a function.

<{POST_SNAPBACK}>

$WS_EX_TOPMOST is NOT a style but an ExStyle :)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.