共用方式為


CMFCPopupMenu::AlwaysShowEmptyToolsEntry

Sets whether a pop-up menu is enabled to show empty entries for user-defined tools.

static void AlwaysShowEmptyToolsEntry(
   BOOL bShow = TRUE
);

Parameters

  • [in] bShow
    TRUE if the pop-up menu can display empty entries; FALSE otherwise.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart