BCGControlBar Pro for MFC
CBCGPControlBar* CBCGPDockBar::FindBarByID ( UINT  nID)

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

Returns
A pointer to the control bar with the specified ID or NULL
Parameters
nIDA control bar ID.