HH_SET_WIN_TYPE command

Creates a new help window or modifies an existing help window at run time.


pszFile dwData

Specifies the name of the window type that you want to create or modify and the name of the compiled help (.chm) file in which the window type is defined.

The window type name must begin with a greater-than (>) character and must be preceded by the name of the compiled help file in which it is defined.

Points to an HH_WINTYPE structure.

Example


HH_WINTYPE WinType ;

...

HtmlHelp(
GetDesktopWindow(),
"..\\help.chm>mainwin",
HH_SET_WIN_TYPE,
(DWORD) &WinType) ;

Return value

Comments

See also

HH_GET_WIN_TYPE


link to overview topic About commands