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
  • 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.
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Separate into files by filename 12 82
VBA "SendKeys" Syntax for Multiple Keystrokes 7 108
no14 challenge 14 66
Fibonacci challenge 11 121
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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