Link to home
Start Free TrialLog in
Avatar of lms
lms

asked on

Hide application in the system task bar

How to hide a dialog based application in the system task bar ?
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zoppo
U can set/unset the WS_EX_TOOLWINDOW style with CWnd::ModifyStyleEx() to hide app from task bar without hiding the app itself.

ZOPPO


Avatar of stormp
stormp

I don't believe this works of your application is a DIALOG BASED app.
Try it.  There is nothing special about a dialog vs. a non-dialog window.  They are all windows.
Actually, I've tried it!  It didn't work for me.  In fact, there is a big discussion about this on CodeGuru.Com

Look through the threads of: http://www.codeguru.com/advancedui/Toggle_taskbar_button.shtml

No one that I have talked to can figure out how to do toggle the taskbar button for a Dialog based window.

If you know how, I'de be very appreciative!!

Storm.


stormp,

I don't think your issue is the same as this question's.  This question was how to minimize an application to the taskbar.  Your issue is how to show/hide a button on the taskbar.

You might want to ask this as a new question on Experts Exchange and see if someone can come up with a solution.