Sign in to follow this  
Followers 0
onestcoder

Always On Top

4 posts in this topic

#1 ·  Posted (edited)

Can anyone lead me in the right direction?

I want my GUI when it opens to Always Stay On Top of all other applications???

is it the $WS_EX_TOPMOST

so would it be

GUICreate("My program", 274, 200, $WS_EX_TOPMOST)

Edited by onestcoder

Need a website: http://www.iconixmarketing.com

Share this post


Link to post
Share on other sites



Can anyone lead me in the right direction?

I want my GUI when it opens to Always Stay On Top of all other applications???

2 ways, you can use WinSetOnTop("Window",1) OR use the $WS_EX_TOPMOST extended style when creating your gui.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

For a newbi as you i shall use the win @ Cameronsdad...


-jaenster

Share this post


Link to post
Share on other sites

Can anyone lead me in the right direction?

I want my GUI when it opens to Always Stay On Top of all other applications???

is it the $WS_EX_TOPMOST

so whould it be

GUICreate("My program", 274, 200, $WS_EX_TOPMOST)

actually the topmost is an extended style, so you have to have a value for all of the optional parameters before it, to set an extended style. -1 uses the default style so it would be:

$gui = GUICreate("My program", 274, 200,0,0, -1,$WS_EX_TOPMOST)

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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