BCGControlBar Pro for MFC
CBCGPBaseControlBar* CBCGPFrameWnd::GetControlBar ( UINT  nID)

Given a control ID returns a pointer to control bar with the specified ID.

Returns
A pointer to control bar or NULL.

Use this function to find a control bar that belong to the frame window by the control ID.

Parameters
nIDThe control ID.