Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Loads a menu from the resources and calls CMFCToolBarsCustomizeDialog::AddMenuCommands to add that menu to the list of commands on the Commands page.
BOOL AddMenu(
UINT uiMenuResId
);
Parameters
- [in] uiMenuResId
Specifies the resource ID of a menu to load.
Return Value
TRUE if a menu was added successfully; otherwise FALSE.
Remarks
In the call to AddMenuCommands, bPopup is FALSE. As a result, that method does not add menu items that contain submenus to the list of commands. This method does add the menu items in the submenus to the list of commands.
Requirements
Header: afxToolBarsCustomizeDialog.h