BCGControlBar Pro for MFC
static const CList<UINT, UINT>& CBCGPToolbarButton::GetProtectedCommands ( )
inlinestatic

Returns a reference to CList object, which contains a collection of commands that can't be customized by the user.

Returns
A const reference to CList object containing a collection of protected commands.

Toolbar buttons whose commands are defined as "protected" will be disabled in customization mode. It means, that user is unable to drag, drop and edit the specified buttons.

Use the SetProtectedCommands() member function to define the list of protected commands