CommandBar_Show (Windows CE 5.0)

Send Feedback

This function shows or hides the command bar.

BOOLCommandBar_Show(HWNDhwndCB, BOOLfShow);

Parameters

  • hwndCB
    Handle to the command bar's window. This handle is returned by the CommandBar_Create function when the command bar is created.
  • fShow
    Boolean that specifies whether to show or hide the command bar. Set this parameter to TRUE to show the command bar, or FALSE to hide it.

Return Values

The previous show state of the command bar. This function returns TRUE if command bar was displayed, FALSE if it was hidden.

Remarks

Command bars are created with the show state set to TRUE. To hide the command bar before the window is displayed call CommandBar_Show, with the fShow parameter set to false, before calling ShowWindow for the parent window.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib.

See Also

CommandBar_Create | CommandBar_IsVisible | ShowWindow

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.