CommandBar_Create

This function instantiates a new command bar.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

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

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 indicates success. NULL indicates failure.

Remarks

The CommandBar_Create function creates an empty command bar.

See Also

CommandBar_Destroy