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.
Comments
- 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.
See also
HH_GET_WIN_TYPE
HH_SET_WIN_TYPE
About commands | |