CWnd::SetWindowContextHelpId

BOOL SetWindowContextHelpId( DWORD dwContextHelpId );

Return Value

Nonzero if the function is successful; otherwise 0.

Parameters

dwContextHelpId

The help context identifier.

Remarks

Call this member function to associate a help context identifier with the specified window.

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.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetWindowContextHelpId