Annonyreeder Posted May 10, 2013 Share Posted May 10, 2013 Hello, How can i make Ezskin GUIS always on top? Ive tried WinSetOnTop("T", "", 1) and $WS_EX_TOPMOST) yet neither work $help = EZSKINGUICREATE("Panda", 180, 163,$WS_EX_TOPMOST) WinSetOnTop("T", "", 1) $EZICON = EZSKINICON($help) $Template = EZSKINBUTTON("Anthony", 20, 50, 73, 28, $WS_GROUP) WinSetOnTop("T", "", 1) ;tried to declare a close button, but when I add while statement here, pc freezes GUISetState(@SW_show) Link to comment Share on other sites More sharing options...
Artisan Posted May 10, 2013 Share Posted May 10, 2013 (edited) The $WS_EX_TOPMOST flag won't work because this is proprietary GUI creation. I tried to see if it takes style flags, but the code is obfuscated. The solution is WinSetOnTop. You just need to double-check how you're using it: WinSetOnTop("Panda","",1) Will make your Panda GUI stay on top - but only call WinSetOnTop after GuiSetState or it won't work. EDIT - What kind of while loop did you add? The loop itself could have caused the lock-up. And adding a button doesn't require any kind of loop anyway. Edited May 10, 2013 by Artisan Link to comment Share on other sites More sharing options...
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