共用方式為


CMFCRibbonGallery::GetPaletteID

Returns the command ID of the current palette.

int GetPaletteID() const;

Return Value

The command ID of the currently selected palette.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart