BCGControlBar Pro for MFC
static void CBCGPToolbarButton::SetProtectedCommands ( const CList< UINT, UINT > &  lstCmds)
static

Sets a list of protected commands.

Call this function to set a list of "protected" commands. When a button has the command ID that belongs to the list of protected commands, the button can't be customized.

Parameters
lstCmdsA reference to CList object containing a collection of command IDs.