BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::IsEditable ( ) const
inlinevirtual

Tells whether a button is customizable or not.

Returns
Nonzero if a button can be customized by the user; otherwise 0.

This function is called to determine whether a toolbar button can be customized (dragged, dropped or edited) by the user or not.

The default implementation of IsEditable checks the button's command ID against the list of standard and protected commands and returns FALSE if the command belongs at least to one of them.

You can override this member function to customize this behavior.