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

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.
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 80
while loop over for loop 7 115
matchUp  challenge 6 68
Message not shown 5 66
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

792 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