Jump to content
Sign in to follow this  

A Gui locked-unlocked in foreground

Recommended Posts



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 ?


Share this post

Link to post
Share on other sites


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

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.