BCGControlBar Pro for MFC
BOOL CBCGPToolBar::IsUserDefined ( ) const

Determines whether a toolbar is the user-defined toolbar.

Returns
Nonzero if the toolbar is the user-defined toolbar; otherwise 0.

Call this function to determine whether a toolbar is the user-defined toolbar. User can create toolbars in customization mode.