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.
Sets the keytips for all ribbon elements that have the specified command ID.
BOOL SetElementKeys(
UINT uiCmdID,
LPCTSTR lpszKeys,
LPCTSTR lpszMenuKeys = NULL
);
Parameters
[in] uiCmdID
The command ID of a ribbon element.[in] lpszKeys
The keytip.[in] lpszMenuKeys
The menu keytip.
Return Value
TRUE if the keytips of at least one ribbon element are set; otherwise FALSE.
Remarks
The optional menu keytip is for ribbon elements with a split button that opens a popup menu.
Requirements
Header: afxribbonbar.h