How To Add to or Remove Windows from the Task List (99800)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0
  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q99800

SUMMARY

There are no functions included in the Windows Software Development Kit (SDK) to add or remove windows from the task list. All top-level windows (that is, windows without parents) that are visible will automatically appear in the task list. A window can be removed from the task list by making it hidden. Call ShowWindow() with the SW_HIDE parameter to hide the window. To make it visible again, call ShowWindow() with the appropriate parameter such as SW_SHOW or SW_SHOWNORMAL.

NOTE: On Windows 95 or later, and Windows NT 4.0 or later, hiding a top- level window also removes the window from the taskbar.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbhowto kbWndw kbWndwProp KB99800