BCGControlBar Pro for MFC
virtual CBCGPBaseControlBar* CBCGPDockManager::FindBarByID ( UINT  uBarID,
BOOL  bSearchMiniFrames = FALSE 

Finds a control bar by the specified control ID.

A pointer to a CBCGPBaseControlBar - derived object with the specifies control ID or NULL.

Use this function to find a control bar with the specified by uBarID control ID.

uBarIDSpecifies the control ID.
bSearchMiniFramesIf TRUE all floating control bar will be checked as well. Otherwise, the function iterates only the list of docked control bars.