The CommandBar_InsertMenubarEx function inserts a menu into a command bar. The menu can be specified as a resource name, using MAKEINTRESORUCE, or as a menu handle.
BOOL CommandBar_InsertMenubar(HWND hwndCB, HINSTANCE hInst, LPTSTR pszMenu, 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_InsertMenuBar