BCGControlBar Pro for MFC
virtual void CBCGPMenuBar::CreateFromMenu ( HMENU  hMenu,
BOOL  bDefaultMenu = FALSE,
BOOL  bForceUpdate = FALSE 
)
virtual

Initializes a CBCGPMenuBar object from a handle to Windows menu.

Call this function when a menu bar control has already been created by Create() or CreateEx().

Parameters
hMenuHandle to the original menu.
bDefaultMenuSpecifies whether the created menu is the default menu.
bForceUpdateIf TRUE, forces the menu update.