CCommandBar::DrawMenuBar

Repositions and redraws the command bar after a menu in the command bar is modified.

BOOL DrawMenuBar(
WORD wButton )
const;

Parameters

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

  • wButton
    Specifies the zero-based index of the menu bar within the command bar.

Return Value

true if successful; otherwise, false.

Remarks

Always call this method after modifying a menu in a command bar.

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