CommandBar_Create

The CommandBar_Create function instantiates a new command bar.

Syntax

HWND CommandBar_Create(HINSTANCE hInst, HWND hwndParent, int idCmdBar);

At a Glance

Header file: Commctrl.h
Platforms: H/PC
Windows CE versions: 1.0 and later

Parameters

hInst
Handle to the application instance in which to create the command bar.
hwndParent
Handle to the parent window for the command bar.
idCmdBar
Identifier of the command bar.

Return Values

The window handle to the command bar. If this function fails, it returns a value of NULL.

Remarks

The CommandBar_Create function creates an empty command bar.

See Also

CommandBar_Destroy