Sign in to follow this  
Followers 0
Julius Ramos

Need Help! How do i hide the taskbar icon

3 posts in this topic

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

Share this post


Link to post
Share on other sites



would help if you posted your code

do you have a gui, are you using tray functions?

can't help when can't see code.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
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)

Share this post


Link to post
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
Sign in to follow this  
Followers 0