FinalVersion Posted February 19, 2010 Posted February 19, 2010 (edited) Took $TRAY_EVENT_PRIMARYDOWN from the Help File, I don't know why it isn't working. Whenever I click the tray icon, it's suppose to show the GUI. And I know I didn't include the GUI in the example.#NoTrayIcon Local $tMsg Opt("TrayMenuMode", 1) While 1 $tMsg = TrayGetMsg() Switch $tMsg Case $TRAY_EVENT_PRIMARYDOWN GUISetState(@SW_SHOW) WinSetState("frmMain", "", @SW_RESTORE) Opt("TrayIconHide", 1) EndSwitch WEnd Edited February 19, 2010 by FinalVersion [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
somdcomputerguy Posted February 19, 2010 Posted February 19, 2010 Is this line in your script? #include <Constants.au3> - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
FinalVersion Posted February 19, 2010 Author Posted February 19, 2010 Haha, wow something so simple. Thanks. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
somdcomputerguy Posted February 19, 2010 Posted February 19, 2010 You bet man. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
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