BCGControlBar Pro for MFC
void CBCGPDockManager::GetControlBarList ( CObList &  lstBars,
BOOL  bIncludeAutohide = FALSE,
CRuntimeClass *  pRTCFilter = NULL,
BOOL  bIncludeTabs = FALSE 
)

Returns a list of control bars that belong to the docking manager, including all floating control bars.

This list will include all floating control bars. If there are tabbed control bars, the function returns pointers to CBCGPBaseTabbedBar objects and you need to enumerate tabs explicitly.

Use pRTCFilter to obtain a particular class of control bars (for example, you can obtain toolbars only).

Parameters
lstBarsThis list will contain pointers to control bar objects when the function returns.
bIncludeAutohideIf TRUE, the returned list will contain control bars in autohide mode.
pRTCFilterIf not NULL, the returned list will contain only control bars of the specified runtime class.
bIncludeTabsIf TRUE, the returned list will contain control bars from the tabbed bars.