RegisterTaskBar

This function registers the taskbar with the window manager to receive notifications of window creation, destruction, and activation.

BOOL RegisterTaskBar( 
  HWND hwndTaskbar 
);

Parameters

  • hwndTaskbar
    Specifies a handle to the taskbar window.

Return Values

TRUE indicates success; FALSE indicates failure.

Remarks

An application that creates a taskbar window must also create a desktop window. Both windows must be created before RegisterTaskBar is called. The desktop window must be full-screen and nontransparent, and have a window class name of DesktopExplorerWindow. This function should only be called once.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Pwinuser.h.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.