Partager via


CMFCToolBarMenuButton::CreateFromMenu

Initializes the toolbar menu from a Windows menu handle.

virtual void CreateFromMenu(
   HMENU hMenu 
);

Parameters

  • [in] hMenu
    A handle to a menu.

Remarks

A toolbar menu button can display a drop-down submenu.

The framework calls this method to initialize the commands in the submenu from a menu.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart