[Winpt-commits] r84 - trunk/Include
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 16 14:13:41 CET 2005
Author: twoaday
Date: 2005-11-16 14:13:41 +0100 (Wed, 16 Nov 2005)
New Revision: 84
Added:
trunk/Include/myhtmlphelp.h
Log:
The HTML-Help API is missing in mingw32. Include
header file with all needed constants and funcctions.
Added: trunk/Include/myhtmlphelp.h
===================================================================
--- trunk/Include/myhtmlphelp.h 2005-11-16 12:24:45 UTC (rev 83)
+++ trunk/Include/myhtmlphelp.h 2005-11-16 13:13:41 UTC (rev 84)
@@ -0,0 +1,26 @@
+#ifndef MY_HTMLHELP_H
+#define MY_HTMLHELP_H
+
+enum hhelp_id_t {
+ HELP_INFO_WINDOW = 1,
+ HH_UNINITIALIZE = 0x001D, // Uninitializes the help system.
+ HH_INITIALIZE = 0x001C, // Initializes the help system.
+
+ HH_TP_HELP_WM_HELP = 0x0011, // text popup help, same as WinHelp HELP_WM_HELP
+
+};
+
+typedef struct tagHELPINFO {
+ UINT cbSize;
+ int iContextType;
+ int iCtrlId;
+ HANDLE hItemHandle;
+ DWORD dwContextId;
+ POINT MousePos;
+} HELPINFO, *LPHELPINFO;
+
+HWND HtmlHelp(HWND hwndCaller,
+ LPCSTR pszFile,
+ UINT uCommand,
+ DWORD dwData);
+#endif /*MY_HTMLHELP_H*/
More information about the Winpt-commits
mailing list