Sign in to follow this  
Followers 0
RealTime

Create and Dispose GUI

5 posts in this topic

I have learnt how to create an GUI. But i want to dispose it or hide it on taskbar? how do i perform that? thank you very much.

Share this post


Link to post
Share on other sites



$winhandle = GUICreate("TEST")

GUISetState ( @SW_MINIMIZE,$winhandle ) ; to minimize

GUISetState ( @SW_HIDE,$winhandle ) ; to hide

Share this post


Link to post
Share on other sites

I have learnt how to create an GUI. But i want to dispose it or hide it on taskbar? how do i perform that? thank you very much.

By dispose i take you mean delete? Then you want:

GUIDelete ()oÝ÷ Ø    Ýo(bu쨻§¶Ú¢Øb±«­¢+ÙU%MÑMÑÑ¡M]}!¥¤

That should get you on your merry way :)

Share this post


Link to post
Share on other sites

By dispose i take you mean delete? Then you want:

GUIDelete ()oÝ÷ Ø    Ýo(bu쨻§¶Ú¢Øb±«­¢+ÙU%MÑMÑÑ¡M]}!¥¤oÝ÷ Ù8Z¶ÈhºW`zܨºò¢êæzºòÁ¬¿ªê-y8ZK¢¼¨º¸^÷ë¢é]«$jz-êê¹ë-Ö«b±Ø}êÞ×ë¢f®¶­sduT6WE7FFR5uôFRoÝ÷ Ù©Ýjëh×6GUIDelete ()

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Thanks for your help! But could i ask another question? What is different from

GUISetState (@SW_Hide)oÝ÷ Ù©Ýjëh×6GUIDelete ()
GuiSetState(@SW_HIDE) will make your Gui a "hidden" window; it will still exist, you can send and retrieve info/commands to it, and you can make it reappear with GuiSetState(@SW_SHOW)

GuiDelete() wil actually delete or "destroy" your GUI; to bring it back you would need to re-run the code that created it in the first place

Edited by ResNullius

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