CMFCRibbonPanel::EnableLaunchButton
Enables a launch button on the ribbon panel.
void EnableLaunchButton(
UINT uiCmdID,
int nIconIndex = -1,
LPCTSTR lpszKeys = NULL
);
Parameters
[in] uiCmdID
Command ID of the launch button.[in] nIconIndex
The zero-based index of the small image for the launch button. Use -1 to specify a default small image.[in] lpszKeys
The keyboard shortcut for the launch button.
Remarks
The launch button is a small button located at the bottom-right corner of a ribbon panel. When the user clicks the launch button, the associated command is executed.
The small image for a launch button is displayed on the customization dialog box.
Requirements
Header: afxRibbonPanel.h
See Also
Concepts
Reference
Change History
Date |
History |
Reason |
---|---|---|
October 2008 |
Updated whole topic. |
Information enhancement. |