Jump to content

Recommended Posts

Posted

$winhandle = GUICreate("TEST")

GUISetState ( @SW_MINIMIZE,$winhandle ) ; to minimize

GUISetState ( @SW_HIDE,$winhandle ) ; to hide

Posted

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 :)

Posted

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 ()
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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...