BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarCustomize::CheckToolsValidity ( const CObList &  )
inlineprotectedvirtual

Called by the framework to determine whether the list user-defined tools is valid.

Should return TRUE if the list of user-defined tools is valid; otherwise FALSE.

This function is called by the framework to verify the validity of objects that represent user-defined tools. The list of tools is obtained by the customization dialog from the user tools manager by calling CBCGPUserToolsManager::GetUserTools.

The default implementation checks nothing and returns TRUE. You can override the CheckToolsValidity member function in a CBCGPToolbarCustomize - derived class to perform the actual check.

The list of user-defined tools to check.