BCGControlBar Pro for MFC
BOOL CBCGPFrameWnd::SyncControlBarsStateBetweenFrames ( LPCTSTR  lpszProfileName = NULL,
const CList< HWND, HWND > *  plstExcludeFrames = NULL 
)
inline

Synchronises the control bars state between frames.

Call this method to apply the current frame state (toolbar or ribbon customization data and visual theme) to other frame windows.

Parameters
lpszProfileNameSpecifies the profile name. If this parameter is NULL, the default (specified by application or workspace class) profile will be used.
plstExcludeFramesThe optional list of frames to be excluded from the synchronization.
Returns
Returns True if the state was successfully synchronized; FALSE - otherwise.