共用方式為


CMFCShellTreeCtrl::EnableShellContextMenu

Enables the shortcut menu.

void EnableShellContextMenu(
   BOOL bEnable = TRUE
);

Parameters

  • [in] bEnable
    A Boolean that specifies whether to enable the shortcut menu.

Requirements

Header: afxshelltreectrl.h

See Also

Reference

CMFCShellTreeCtrl Class

Hierarchy Chart