The CommandBar_InsertMenubar function inserts a menu bar into the command bar.
BOOL CommandBar_InsertMenubar(HWND hwndCB, HINSTANCE hInst, WORD idMenu, int iButton);
Header file: | Commctrl.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and later |
TRUE if the function succeeds. FALSE if it fails.
Use the same type of menu bar in the command bar of a Windows CE application that you use for the main menu in an application running on a Windows desktop platform.
CommandBar_Create, CommandBar_GetMenu , CommandBar_InsertButton, CommandBar_InsertComboBox, CommandBar_InsertMenuBarEx