Associates a Help context identifier with the specified window.
BOOL SetWindowContextHelpId( HWND , DWORD );
A handle to the window with which to associate the Help context identifier.
The Help context identifier.
Returns nonzero if successful, or zero otherwise.
To retrieve extended error information, call GetLastError.
If a child window does not have a Help context identifier, it inherits the identifier of its parent window. Likewise, if an owned window does not have a Help context identifier, it inherits the identifier of its owner window. This inheritance of Help context identifiers allows an application to set just one identifier for a dialog box and all of its controls.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|