Shao Posted August 25, 2006 Posted August 25, 2006 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
marfdaman Posted August 25, 2006 Posted August 25, 2006 Try WinSetOnTop($Gui, "", 1) Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shao Posted August 25, 2006 Author Posted August 25, 2006 Try WinSetOnTop($Gui, "", 1) Thank you very much, it 's nicely working !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now