BCGControlBar Pro for MFC
BOOL CBCGPRibbonBar::SetElementKeys ( UINT  uiCmdID,
LPCTSTR  lpszKeys,
LPCTSTR  lpszMenuKeys = NULL 
)

Sets the specified key tips for all Ribbon's elements with specified command ID.

Use this method to set the specified by lpszKeys key tips for all Ribbon's elements with specified by uiCmdID command ID.

Parameters
uiCmdIDSpecifies the command ID of ribbon elements, which should receive key tips.
lpszKeysSpecifies key tips to be set.
lpszMenuKeysSpecifies key tips for split buttons, which open popup menus.