13 #ifndef __HTMLHELP_H__ 14 #define __HTMLHELP_H__ 22 #define DWORD_PTR DWORD 27 #define HH_DISPLAY_TOPIC 0x0000 28 #define HH_HELP_FINDER 0x0000 // WinHelp equivalent 29 #define HH_DISPLAY_TOC 0x0001 30 #define HH_DISPLAY_INDEX 0x0002 31 #define HH_DISPLAY_SEARCH 0x0003 32 #define HH_SET_WIN_TYPE 0x0004 33 #define HH_GET_WIN_TYPE 0x0005 34 #define HH_GET_WIN_HANDLE 0x0006 35 #define HH_ENUM_INFO_TYPE 0x0007 // Get Info type name, call repeatedly to enumerate, -1 at end 36 #define HH_SET_INFO_TYPE 0x0008 // Add Info type to filter. 37 #define HH_SYNC 0x0009 38 #define HH_RESERVED1 0x000A 39 #define HH_RESERVED2 0x000B 40 #define HH_RESERVED3 0x000C 41 #define HH_KEYWORD_LOOKUP 0x000D 42 #define HH_DISPLAY_TEXT_POPUP 0x000E // display string resource id or text in a popup window 43 #define HH_HELP_CONTEXT 0x000F // display mapped numeric value in dwData 44 #define HH_TP_HELP_CONTEXTMENU 0x0010 // text popup help, same as WinHelp HELP_CONTEXTMENU 45 #define HH_TP_HELP_WM_HELP 0x0011 // text popup help, same as WinHelp HELP_WM_HELP 46 #define HH_CLOSE_ALL 0x0012 // close all windows opened directly or indirectly by the caller 47 #define HH_ALINK_LOOKUP 0x0013 // ALink version of HH_KEYWORD_LOOKUP 48 #define HH_GET_LAST_ERROR 0x0014 // not currently implemented // See HHERROR.h 49 #define HH_ENUM_CATEGORY 0x0015 // Get category name, call repeatedly to enumerate, -1 at end 50 #define HH_ENUM_CATEGORY_IT 0x0016 // Get category info type members, call repeatedly to enumerate, -1 at end 51 #define HH_RESET_IT_FILTER 0x0017 // Clear the info type filter of all info types. 52 #define HH_SET_INCLUSIVE_FILTER 0x0018 // set inclusive filtering method for untyped topics to be included in display 53 #define HH_SET_EXCLUSIVE_FILTER 0x0019 // set exclusive filtering method for untyped topics to be excluded from display 54 #define HH_INITIALIZE 0x001C // Initializes the help system. 55 #define HH_UNINITIALIZE 0x001D // Uninitializes the help system. 56 #define HH_PRETRANSLATEMESSAGE 0x00fd // Pumps messages. (NULL, NULL, MSG*). 57 #define HH_SET_GLOBAL_PROPERTY 0x00fc // Set a global property. (NULL, NULL, HH_GPROP) 59 #define HHWIN_PROP_TAB_AUTOHIDESHOW (1 << 0) // Automatically hide/show tri-pane window 60 #define HHWIN_PROP_ONTOP (1 << 1) // Top-most window 61 #define HHWIN_PROP_NOTITLEBAR (1 << 2) // no title bar 62 #define HHWIN_PROP_NODEF_STYLES (1 << 3) // no default window styles (only HH_WINTYPE.dwStyles) 63 #define HHWIN_PROP_NODEF_EXSTYLES (1 << 4) // no default extended window styles (only HH_WINTYPE.dwExStyles) 64 #define HHWIN_PROP_TRI_PANE (1 << 5) // use a tri-pane window 65 #define HHWIN_PROP_NOTB_TEXT (1 << 6) // no text on toolbar buttons 66 #define HHWIN_PROP_POST_QUIT (1 << 7) // post WM_QUIT message when window closes 67 #define HHWIN_PROP_AUTO_SYNC (1 << 8) // automatically ssync contents and index 68 #define HHWIN_PROP_TRACKING (1 << 9) // send tracking notification messages 69 #define HHWIN_PROP_TAB_SEARCH (1 << 10) // include search tab in navigation pane 70 #define HHWIN_PROP_TAB_HISTORY (1 << 11) // include history tab in navigation pane 71 #define HHWIN_PROP_TAB_FAVORITES (1 << 12) // include favorites tab in navigation pane 72 #define HHWIN_PROP_CHANGE_TITLE (1 << 13) // Put current HTML title in title bar 73 #define HHWIN_PROP_NAV_ONLY_WIN (1 << 14) // Only display the navigation window 74 #define HHWIN_PROP_NO_TOOLBAR (1 << 15) // Don't display a toolbar 75 #define HHWIN_PROP_MENU (1 << 16) // Menu 76 #define HHWIN_PROP_TAB_ADVSEARCH (1 << 17) // Advanced FTS UI. 77 #define HHWIN_PROP_USER_POS (1 << 18) // After initial creation, user controls window size/position 78 #define HHWIN_PROP_TAB_CUSTOM1 (1 << 19) // Use custom tab #1 79 #define HHWIN_PROP_TAB_CUSTOM2 (1 << 20) // Use custom tab #2 80 #define HHWIN_PROP_TAB_CUSTOM3 (1 << 21) // Use custom tab #3 81 #define HHWIN_PROP_TAB_CUSTOM4 (1 << 22) // Use custom tab #4 82 #define HHWIN_PROP_TAB_CUSTOM5 (1 << 23) // Use custom tab #5 83 #define HHWIN_PROP_TAB_CUSTOM6 (1 << 24) // Use custom tab #6 84 #define HHWIN_PROP_TAB_CUSTOM7 (1 << 25) // Use custom tab #7 85 #define HHWIN_PROP_TAB_CUSTOM8 (1 << 26) // Use custom tab #8 86 #define HHWIN_PROP_TAB_CUSTOM9 (1 << 27) // Use custom tab #9 87 #define HHWIN_TB_MARGIN (1 << 28) // the window type has a margin 89 #define HHWIN_PARAM_PROPERTIES (1 << 1) // valid fsWinProperties 90 #define HHWIN_PARAM_STYLES (1 << 2) // valid dwStyles 91 #define HHWIN_PARAM_EXSTYLES (1 << 3) // valid dwExStyles 92 #define HHWIN_PARAM_RECT (1 << 4) // valid rcWindowPos 93 #define HHWIN_PARAM_NAV_WIDTH (1 << 5) // valid iNavWidth 94 #define HHWIN_PARAM_SHOWSTATE (1 << 6) // valid nShowState 95 #define HHWIN_PARAM_INFOTYPES (1 << 7) // valid apInfoTypes 96 #define HHWIN_PARAM_TB_FLAGS (1 << 8) // valid fsToolBarFlags 97 #define HHWIN_PARAM_EXPANSION (1 << 9) // valid fNotExpanded 98 #define HHWIN_PARAM_TABPOS (1 << 10) // valid tabpos 99 #define HHWIN_PARAM_TABORDER (1 << 11) // valid taborder 100 #define HHWIN_PARAM_HISTORY_COUNT (1 << 12) // valid cHistory 101 #define HHWIN_PARAM_CUR_TAB (1 << 13) // valid curNavType 103 #define HHWIN_BUTTON_EXPAND (1 << 1) // Expand/contract button 104 #define HHWIN_BUTTON_BACK (1 << 2) // Back button 105 #define HHWIN_BUTTON_FORWARD (1 << 3) // Forward button 106 #define HHWIN_BUTTON_STOP (1 << 4) // Stop button 107 #define HHWIN_BUTTON_REFRESH (1 << 5) // Refresh button 108 #define HHWIN_BUTTON_HOME (1 << 6) // Home button 109 #define HHWIN_BUTTON_BROWSE_FWD (1 << 7) // not implemented 110 #define HHWIN_BUTTON_BROWSE_BCK (1 << 8) // not implemented 111 #define HHWIN_BUTTON_NOTES (1 << 9) // not implemented 112 #define HHWIN_BUTTON_CONTENTS (1 << 10) // not implemented 113 #define HHWIN_BUTTON_SYNC (1 << 11) // Sync button 114 #define HHWIN_BUTTON_OPTIONS (1 << 12) // Options button 115 #define HHWIN_BUTTON_PRINT (1 << 13) // Print button 116 #define HHWIN_BUTTON_INDEX (1 << 14) // not implemented 117 #define HHWIN_BUTTON_SEARCH (1 << 15) // not implemented 118 #define HHWIN_BUTTON_HISTORY (1 << 16) // not implemented 119 #define HHWIN_BUTTON_FAVORITES (1 << 17) // not implemented 120 #define HHWIN_BUTTON_JUMP1 (1 << 18) 121 #define HHWIN_BUTTON_JUMP2 (1 << 19) 122 #define HHWIN_BUTTON_ZOOM (1 << 20) 123 #define HHWIN_BUTTON_TOC_NEXT (1 << 21) 124 #define HHWIN_BUTTON_TOC_PREV (1 << 22) 126 #define HHWIN_DEF_BUTTONS \ 127 (HHWIN_BUTTON_EXPAND | \ 128 HHWIN_BUTTON_BACK | \ 129 HHWIN_BUTTON_OPTIONS | \ 134 #define IDTB_EXPAND 200 135 #define IDTB_CONTRACT 201 136 #define IDTB_STOP 202 137 #define IDTB_REFRESH 203 138 #define IDTB_BACK 204 139 #define IDTB_HOME 205 140 #define IDTB_SYNC 206 141 #define IDTB_PRINT 207 142 #define IDTB_OPTIONS 208 143 #define IDTB_FORWARD 209 144 #define IDTB_NOTES 210 // not implemented 145 #define IDTB_BROWSE_FWD 211 146 #define IDTB_BROWSE_BACK 212 147 #define IDTB_CONTENTS 213 // not implemented 148 #define IDTB_INDEX 214 // not implemented 149 #define IDTB_SEARCH 215 // not implemented 150 #define IDTB_HISTORY 216 // not implemented 151 #define IDTB_FAVORITES 217 // not implemented 152 #define IDTB_JUMP1 218 153 #define IDTB_JUMP2 219 154 #define IDTB_CUSTOMIZE 221 155 #define IDTB_ZOOM 222 156 #define IDTB_TOC_NEXT 223 157 #define IDTB_TOC_PREV 224 161 #define HHN_FIRST (0U-860U) 162 #define HHN_LAST (0U-879U) 164 #define HHN_NAVCOMPLETE (HHN_FIRST-0) 165 #define HHN_TRACK (HHN_FIRST-1) 166 #define HHN_WINDOW_CREATE (HHN_FIRST-2) 247 #define HH_MAX_TABS 19 // maximum number of tabs 261 #define HH_MAX_TABS_CUSTOM (HH_TAB_CUSTOM_LAST - HH_TAB_CUSTOM_FIRST + 1) 265 #define HH_FTS_DEFAULT_PROXIMITY (-1) 382 #define HtmlHelp HtmlHelpW 384 #define HtmlHelp HtmlHelpA 389 #define ATOM_HTMLHELP_API_ANSI (LPTSTR)((DWORD)((WORD)(14))) 390 #define ATOM_HTMLHELP_API_UNICODE (LPTSTR)((DWORD)((WORD)(15))) 411 #pragma pack(push, 8) 413 typedef struct tagHH_GLOBAL_PROPERTY
417 } HH_GLOBAL_PROPERTY ;
424 #endif // __cplusplus 426 #endif // __HTMLHELP_H__
HH_INFOTYPE * paInfoTypes
struct tagHH_FTS_QUERY HH_FTS_QUERY
struct tagHHN_NOTIFY HHN_NOTIFY
struct tagHH_SET_INFOTYPE * PHH_SET_INFOTYPE
struct tagHH_WINTYPE * PHH_WINTYPE
struct tagHH_SET_INFOTYPE HH_SET_INFOTYPE
struct tagHH_ENUM_CAT HH_ENUM_CAT
enum tagHH_GPROPID HH_GPROPID
struct tagHHNTRACK HHNTRACK
HWND WINAPI HtmlHelpA(HWND hwndCaller, LPCSTR pszFile, UINT uCommand, DWORD_PTR dwData)
HH_INFOTYPE * PHH_INFOTYPE
struct tagHH_ENUM_CAT * PHH_ENUM_CAT
BYTE tabOrder[HH_MAX_TABS+1]
struct tagHH_WINTYPE HH_WINTYPE
struct tagHH_ENUM_IT HH_ENUM_IT
struct tagHH_AKLINK HH_AKLINK
struct tagHH_POPUP HH_POPUP
struct tagHH_ENUM_IT * PHH_ENUM_IT
HWND WINAPI HtmlHelpW(HWND hwndCaller, LPCWSTR pszFile, UINT uCommand, DWORD_PTR dwData)