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).
lstBars | This list will contain pointers to control bar objects when the function returns. |
bIncludeAutohide | If TRUE, the returned list will contain control bars in autohide mode. |
pRTCFilter | If not NULL, the returned list will contain only control bars of the specified runtime class. |
bIncludeTabs | If TRUE, the returned list will contain control bars from the tabbed bars. |