Hide application in the system task bar

How to hide a dialog based application in the system task bar ?
lmsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jhanceConnect With a Mentor Commented:
ShowWindow(SW_HIDE);
0
 
ZoppoCommented:
U can set/unset the WS_EX_TOOLWINDOW style with CWnd::ModifyStyleEx() to hide app from task bar without hiding the app itself.

ZOPPO


0
 
stormpCommented:
I don't believe this works of your application is a DIALOG BASED app.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
jhanceCommented:
Try it.  There is nothing special about a dialog vs. a non-dialog window.  They are all windows.
0
 
stormpCommented:
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.


0
 
jhanceCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.