shawnmstout Posted July 26, 2009 Share Posted July 26, 2009 this is what i tried so far, systemtray menu = traymenu.au3 systemInformation Tabs = funcSystemInfo.au3 -------------------------------------systemtray-------------------------------------- Case $msg = $sysInfo $sysStatus = 1 #include "functionsSystemInfo.au3" -----------------------------------Tab Menu Popup-------------------------------- at the top i have While $sysStatus = 1 at the bottom i have GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 If GUIGetMsg() = -3 Then GUISetState(@SW_HIDE) $sysStatus = 0 EndIf Wend WEnd Description of what happens It successfully hides it when i close it but then it wont let me open it again afterwards without restarting the traymenu.au3 Link to comment Share on other sites More sharing options...
shawnmstout Posted July 26, 2009 Author Share Posted July 26, 2009 (edited) figured it out, if anyone needs to do the same thing, this is what i did Case $msg = $sysInfo #Region ### START Koda GUI section ### Form= GUICreate("System Information", 900, 600) GUICtrlCreateTab(10,10,850,20) ;Create System Tabs $driveTab = GUICtrlCreateTabItem("Hard Drives") GetDriveInfo() $biosTab = GUICtrlCreateTabItem("Bios") $serviceTab = GUICtrlCreateTabItem("Services") $processTab = GUICtrlCreateTabItem("Running Processes") $displayTab = GUICtrlCreateTabItem("Display") $systemTab = GUICtrlCreateTabItem("System") $printTab = GUICtrlCreateTabItem("Print") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 If GUIGetMsg() = -3 Then ExitLoop ; <---Exits the Loop to run..... WEnd GuiDelete("System Information") ; <---The Delete Gui, Notice i specified it so that it would make sure to delete the correct one Edited July 26, 2009 by shawnmstout 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