Hide application in the system task bar

Posted on 1999-01-13
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 50 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.
Independent Software Vendors: 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:

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumNumber challenge 16 140
firstChar challenge 13 132
Thin secure Windows 10 5 107
Capture logon name 13 104
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 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