void CBCGPRibbonPanel::EnableLaunchButton | ( | UINT | uiCmdID, |
int | nIconIndex = -1 , |
||
LPCTSTR | lpszKeys = NULL |
||
) |
Tells the ribbon panel to display the launch button.
Call this function to tell the panel to display the launch button with specified command ID and icon.
Launch button is a small button located at the right bottom corner of ribbon panel. When user clicks this button, a command with specified ID is executed. When user places the launch button on Quick Access Toolbar, the library uses nIconIndex to display button's image. If nIconIndex is -1 the library uses a default image.
uiCmdID | ID of command to be associated with the launch button. |
nIconIndex | Icon index used to display button's image on Quick Access Toolbar. |
lpszKeys | Specifies the key tip to be associated with the launch button. |