共用方式為


CDockingManager::BuildPanesMenu

Adds names of docking panes and toolbars to a menu.

void BuildPanesMenu(
   CMenu& menu,
   BOOL bToolbarsOnly
);

Parameters

  • [in] menu
    A menu to add the names of docking panes and toolbars to.

  • [in] bToolbarsOnly
    TRUE to add only toolbar names to the menu; FALSE otherwise.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart