RealTime Posted June 1, 2007 Share Posted June 1, 2007 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. Link to comment Share on other sites More sharing options...
Wooltown Posted June 1, 2007 Share Posted June 1, 2007 $winhandle = GUICreate("TEST") GUISetState ( @SW_MINIMIZE,$winhandle ) ; to minimize GUISetState ( @SW_HIDE,$winhandle ) ; to hide Link to comment Share on other sites More sharing options...
BrettF Posted June 1, 2007 Share Posted June 1, 2007 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 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
RealTime Posted June 2, 2007 Author Share Posted June 2, 2007 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 () Link to comment Share on other sites More sharing options...
ResNullius Posted June 2, 2007 Share Posted June 2, 2007 (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 June 2, 2007 by ResNullius 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