CommandBar_IsVisible

The CommandBar_IsVisible function ascertains whether or not the command bar is visible.

Syntax

BOOL CommandBar_IsVisible(HWND hwndCB);

At a Glance

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

Parameters

hwndCB
The command bar's window handle. This handle is returned by the CommandBar_Create function when the command bar is created.

Return Values

TRUE if the command bar's parent window has the WS_VISIBLE style. FALSE if not.

Remarks

Because this function only determines whether the window has the WS_VISIBLE style, it may return TRUE even if the window is obscured by other windows.

See Also

CommandBar_Create, CommandBar_Show