Jump to content

Need Help! How do i hide the taskbar icon


 Share

Recommended Posts

i cannot find any code that hide my taskbar icon.

i want to hide my taskbar icon and put it in the system tray icon. any one can help me on this problem is highly appreciated.

thank you in advance.

julius

-----------------------------------------------------------BSECE, MCPAIM: juliusrmsYM: jivy_21@yahoo.comMSN: juliusLramos@hotmail.comMobile #: (Globe): +639167031989Web: http://www.trendmicro.com

Link to comment
Share on other sites

I'm assuming you are using a gui of some sort since you are posting in the GUI group.

Try this in your message loop

If $msg = $GUI_EVENT_MINIMIZE Then GUISetState(@SW_HIDE)

This will eliminate your gui from the taskbar. Make sure that you do not hide trayicon. Also, you will need a way to restore the gui. I use a trayitem to restore the gui (this requires beta). Something like this:

Case $traymsg = $TrayRestore OR $traymsg = -13
        ;Maximize
            GUISetState(@SW_SHOW)
            GUISetState(@SW_RESTORE)
Link to comment
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
 Share

  • Recently Browsing   0 members

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