BCGControlBar Pro for MFC
void CBCGPToolBar::HideEmptyMenus ( BOOL  bHide = TRUE)
inline

Specifies whether toolbar/menu bar items with an empty items should be hidden.

Parameters
bHideTRUE to hide, FALSE to show.