共用方式為


CPane::OnShowControlBarMenu

Called by the framework when a special pane menu is about to be displayed.

virtual BOOL OnShowControlBarMenu(
    CPoint point
);

Parameters

  • [in] point
    Specifies the menu location.

Return Value

TRUE if the menu can be displayed; otherwise, FALSE.

Remarks

The menu contains several items that enable you to specify the pane's behavior, namely: Floating, Docking, AutoHide, and Hide. You can enable this menu for all panes by calling CDockingManager::EnableDockSiteMenu.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart