CWnd::GetWindowContextHelpId
Call this member function to retrieve the help context identifier, if any, associated with the window.
DWORD GetWindowContextHelpId( ) const;
Return Value
The help context identifier. Returns 0 if the window has none.
Requirements
Header: afxwin.h