Share via


CCommandBar::Show

Shows or hides the command bar.

BOOL Show(BOOL bShow)

Parameters

The following table describes the parameter for the Show method of the CCommandBar Class.

  • bShow
    Boolean that specifies whether to show or hide the command bar. Set this parameter to false to show the command bar, or true to hide it.

Return Value

Returns the previous show state of the CCommandBar. Returns true if the 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, call Show(false).

Requirements

Windows CE versions 5.0 and later.

Header file: Declared in Afxext.h.

See Also

Reference

CCommandBar Methods

Other Resources

Unique MFC for Devices Classes