BCGControlBar Pro for MFC
void CBCGPRibbonPaletteButton::SetPaletteID ( UINT  nID)
inline

Defines a Command ID, which is being sent along with WM_COMMAND, when a palette item has been selected.

Call this method to define a Command ID, which is being sent along with the WM_COMMAND message, when a palette item has been selected.

Call the GetLastSelectedItem() static method to determine the exact palette item that has been selected.

Parameters
nIDSpecifies the Command ID to be set.