HOWTO: Prevent a Window from Appearing on the Taskbar

ID: Q205158


The information in this article applies to:


SUMMARY

Sometimes, it might be necessary for an application to prevent its main window from appearing on the taskbar. This article describes two ways that this can be accomplished.


MORE INFORMATION

There are two ways to prevent a window from appearing on the shell's taskbar and in the task list window that appears when you press ALT+TAB.

If a window is created or shown such that it appears in the taskbar, then the window should be in the same state when it is destroyed or hidden. If the visibility on the taskbar is not synchronized, then the taskbar may end up with a blank button where it thinks the window should still appear.

Additional query words:


Keywords          : kbNTOS400 kbWinOS2000 kbSDKPlatform kbGrpUser kbWinOS95 kbWinOS98 kbWndwProp kbDSupport 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: July 16, 1999