Partager via


CMFCRibbonGallery::SetPaletteID

Defines the command ID that is sent in the WM_COMMAND message when a user selects a gallery item.

void SetPaletteID(
    UINT nID 
);

Parameters

  • [in] nID
    Specifies the command ID that is sent in the WM_COMMAND message when a user selects a gallery item.

Remarks

To determine the specific item that a user selected from the gallery, call the CMFCRibbonGallery::GetLastSelectedItem static method.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart