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.
Adds a menu item to the pop-up menu that is associated with the button.
void AddSubItem(
CMFCRibbonBaseElement* pSubItem,
int nIndex=-1
);
Parameters
[in] pSubItem
Specifies a pointer to the new element to add.[in] nIndex
Specifies the index at which to add the element to the array of menu items of the button; -1 to add the element at the end of the array of menu items.
Requirements
Header: afxribbonbutton.h