• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1385
  • Last Modified:

Hide icon of the dialog in taskbar

Hi,
I have a dialog-based app. I don't want to show its icon in taskbar. How to do this?
Thanks!

Lite
0
Lite
Asked:
Lite
  • 2
1 Solution
 
Roshan DavisCommented:
Make the dialog style to ToolWindow

WS_EX_TOOLWINDOW   Creates a tool window, which is a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the task bar or in the window that appears when the user presses ALT+TAB.

ROSHMON
0
 
LiteAuthor Commented:
Thanks! Roshmon. But it does not work. The OS of my computer is win2000.

Any good suggestion?

Lite
0
 
Roshan DavisCommented:
Remove the restore and minimize button also.
Roshmon
0
 
pagladasuCommented:
Check out the link in the site:
www.codesoup.com under MFC and Win32 tips
How do I create a dialog box that has no button on the task bar?
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now