BCGControlBar Pro for MFC
virtual void CBCGPToolbarMenuButton::CreateFromMenu ( HMENU  hMenu)

Creates a button's submenu from a handle to Windows menu.

A toolbar menu button object can display a popup submenu.

This function is called by the framework to initialize the submenu's commands from a Windows menu.

hMenuA handle to Windows menu.