Search code examples
wpfwindowstaskbar

Which windows should be shown in Windows taskbar for a program?


Are there any guidelines to this? WPF windows are shown in taskbar by default. You must excplicitly set them not be shown there by

ShowInTaskbar = False

However it seems that many Microsoft programs seem to have only main window in taskbar.


Solution

  • Please refer to MSDN.

    Make the following window types appear on the taskbar (for Windows 7, by using a taskbar button thumbnail):

    • Primary windows (which includes dialog boxes without owners)
    • Property sheets
    • Modeless progress dialog boxes
    • Wizards

    For Windows 7, use taskbar button thumbnails to group the following window types with the primary window taskbar button it was launched from. Each program (specifically, each program perceived as a separate program) should have a single taskbar button.

    • Secondary windows
    • Workspace tabs
    • Project windows
    • MDI child windows