HH_GET_WIN_HANDLE command
Returns the handle (hwnd) of a specified window type.
pszFile | dwData |
---|---|
Specifies the name of the compiled help (.chm) file in which the window type is defined. | Specifies the name of the window type whose handle you want to return. |
Example
HtmlHelp(
hwndCaller,
"c:\\MyHelpFile.chm",
HH_GET_WIN_HANDLE,
(DWORD) "MyWindowType") ;
Return Value
- The handle (hwnd) of the window type specified in the dwData parameter.
- NULL, if the help window has not yet been created.
Remarks
- Always specify the name of the compiled help (.chm) file in which the window type is defined when calling an API command. If the window type is not defined in a compiled help file, then specify NULL.
Related topics