Freigeben über


CMenu::SetMenuContextHelpId

Associates a context help ID with CMenu.

BOOL SetMenuContextHelpId(
   DWORD dwContextHelpId 
);

Parameters

  • dwContextHelpId
    Context help ID to associate with CMenu.

Return Value

Nonzero if successful; otherwise 0

Remarks

All items in the menu share this identifier — it is not possible to attach a help context identifier to the individual menu items.

Example

See the example for CMenu::InsertMenu.

Requirements

Header: afxwin.h

See Also

Reference

CMenu Class

Hierarchy Chart

CMenu::GetMenuContextHelpId

SetMenuContextHelpId

Other Resources

CMenu Members