Help Center

SetContextHelpIdfunction

Associates a Help context identifier with a menu.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION SetContextHelpId (BYVAL hMenu AS HMENU, BYVAL helpID AS DWORD) AS BOOLEAN

Parameters

NameDescription
hMenuA handle to the menu with which to associate the Help context identifier.
helpIDThe help context identifier.

Return value

Returns nonzero if successful, or zero otherwise.

To retrieve extended error information, call GetLastError.

Description

Associates a Help context identifier with a menu.

Example

DIM bRes AS BOOLEAN = CMenu.SetContextHelpId(hMenu, 123)

Reference

  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus