다음을 통해 공유


CMFCRibbonGallery::GetLastSelectedItem

Returns the index of the last item in the ribbon gallery that the user selected.

static int GetLastSelectedItem(
    UINT uiCmdID 
);

Parameters

  • [in] uiCmdID
    Specifies the command ID of the menu item that opened the ribbon gallery.

Return Value

When the user selects any item in the ribbon gallery, the library sends the WM_COMMAND message along with Command ID of the menu button that opened the ribbon gallery.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart