CCommandBar::InsertMenuBar
Inserts a menu bar into the command bar.
BOOL InsertMenuBar(
WORD wMenuID,
WORD wButton );
Parameters
The following table describes the parameters for the InsertMenuBar method of the CCommandBar Class.
wMenuID
Specifies the resource ID of the MenuBar.wButton
Specifies the zero-based index of a button in the command bar.
Return Values
true if successful; otherwise, false.
Remarks
This method places the MenuBar at the button position indicated by wButton.
Requirements
Windows CE version 5.0 or higher.
Header file: Declared in Afxext.h.