[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Hide application in the system task bar

Posted on 1999-01-13
Medium Priority
Last Modified: 2013-11-20
How to hide a dialog based application in the system task bar ?
Question by:lms
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 32

Accepted Solution

jhance earned 100 total points
ID: 1327607
LVL 31

Expert Comment

ID: 1327608
U can set/unset the WS_EX_TOOLWINDOW style with CWnd::ModifyStyleEx() to hide app from task bar without hiding the app itself.



Expert Comment

ID: 1327609
I don't believe this works of your application is a DIALOG BASED app.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 32

Expert Comment

ID: 1327610
Try it.  There is nothing special about a dialog vs. a non-dialog window.  They are all windows.

Expert Comment

ID: 1327611
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!!


LVL 32

Expert Comment

ID: 1327612

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.

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question