BCGControlBar Pro for MFC
virtual CWnd* CBCGPBaseTabbedBar::FindBarByTabNumber ( int  nTabNum,
BOOL  bGetWrappedBar = FALSE 

Given the zero-based tab index returns a control bar that resides in the tab.

A valid pointer to a CWnd object if succeeds; otherwise NULL.

Call this member function to get a pointer to a control bar residing in the tab specified by nTabNum.

nTabNumSpecifies the zero-based tab index.
bGetWrappedBarSet this parameter to TRUE if you need the access to a control bar that was wrapped by CBCGPDockingCBWrapper.