BCGControlBar Pro for MFC
void CBCGPToolBar::SetRouteCommandsViaFrame ( BOOL  bValue)

Sets a flag indicating whether the toolbar commands are routed via its direct owner (if not NULL) or via the parent frame.

By default, this flag is set to TRUE.

bValueTRUE - route the commands via the parent frame; FALSE - via the direct owner.