SetMenuContextHelpId function

Associates a Help context identifier with a menu.

Syntax

BOOL SetMenuContextHelpId(
  HMENU ,
  DWORD 
);

Parameters

arg1

arg2

Return Value

Type: BOOL

Returns nonzero if successful, or zero otherwise.

To retrieve extended error information, call GetLastError.

Remarks

All items in the menu share this identifier. Help context identifiers can't be attached to individual menu items.

Requirements

   
Windows version Windows XP [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h
Library User32.lib
DLL User32.dll

See Also

GetMenuContextHelpId