CMFCRibbonPanel::EnableLaunchButton

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Reference

CMFCRibbonPanel Class

Concepts

MFC Hierarchy Chart