Share via


CMenu::SetMenuContextHelpId

BOOL SetMenuContextHelpId( DWORD dwContextHelpId );

Return Value

Nonzero if successful; otherwise 0

Parameters

dwContextHelpId

Context help ID to associate with CMenu.

Remarks

Call this function to associate a context help ID with CMenu. 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.

CMenu OverviewClass MembersHierarchy Chart

See Also   CMenu::GetMenuContextHelpID,