Sign in to follow this  
Followers 0
Shao

A Gui locked-unlocked in foreground

3 posts in this topic

Hi,

what I made :

create a simple gui with a button named $B_ForeGround

what I 'd like to do :

when $B_ForeGround clicked : the gui is set to foreground and locked in

when clicked once again : the gui isn't locked in anymore

what I tried :

case $msg = $B_ForeGround
               guisetstate($DS_SETFOREGROUND, $Gui)
oÝ÷ Ù«­¢+Ø)ÍÀÌØíµÍôÀÌØí  }½Éɽչ(Õ¥ÍÑÍÑÑ ÀÌØí]M}a}Q=A5=MP°ÀÌØíÕ¤¤

What occurred :

none of those options worked.

So, how can I do to have my gui locked-unlocked in foreground by clicking on a button ?

Thanks

Share this post


Link to post
Share on other sites



Try

WinSetOnTop($Gui, "", 1)

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

Try

WinSetOnTop($Gui, "", 1)
Thank you very much, it 's nicely working !

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