source: trunk/hlpmgr/misc.h@ 26

Last change on this file since 26 was 26, checked in by RBRi, 19 years ago

+ helpmgr files

  • Property svn:eol-style set to native
File size: 5.9 KB
Line 
1/* Original View help instance thing */
2
3typedef void* PIOINFO;
4typedef void* PMNODE;
5typedef void* PPAGE;
6typedef void* PHISTORYINFO;
7typedef void* PLIBRARYINFO;
8typedef void* PINXDATA;
9typedef void* PINDEX;
10typedef void* PTOCDATA;
11typedef USHORT COUNTU;
12typedef void* PTOCITEM;
13typedef void* PBMINFO;
14typedef void* PEXTLNKDATA;
15typedef USHORT INX;
16typedef void* PFONTDATA;
17typedef void* PUSERINFO;
18typedef USHORT CP;
19
20typedef void* PHELPTABLEX;
21
22 /* define instance data */
23typedef struct instance
24{
25 PIOINFO IOInfo; /* active database */
26 PIOINFO IOInfoRoot; /* list of database */
27 ULONG LastError;
28 USHORT BmOrHm; /* TRUE BM else HM */
29 HWND hwndInstance; /* instance object window
30hwnd*/
31 HWND BmHelpInstance; /* handle to BM help inst
32*/
33 PMNODE MemRoot;
34 PMNODE TOCMemRoot;
35 PMNODE IndexMemRoot;
36 USHORT StatusFlag;
37 USHORT WindowStatus;
38 HWND CoverPageFhWnd;
39 HWND CoverPageChWnd;
40 HWND TOCFhWnd;
41 HWND TOCChWnd;
42 HWND IndexFhWnd;
43 HWND IndexChWnd;
44 HWND SearchFhWnd;
45 HWND HistoryFhWnd;
46 HWND LibraryFhWnd;
47 PPAGE PageRoot; /* active viewport ptr */
48 PPAGE PageLinkRoot; /* root of viewport list */
49 PPAGE ParentPage; /* Parent page of current
50page */
51 PHISTORYINFO HistoryInfo;
52 PLIBRARYINFO LibraryInfo;
53 PCH SearchStr;
54 USHORT SearchFlag; /* if set search page before
55display */
56 ULONG FirstWord; /* previous page first word index
57*/
58 USHORT TotNumIndexEntries;
59 PINDEX *IndexRoot; /* pointer to the root of indexes array
60*/
61 PCH PageTitle;
62 PTOCDATA TOCData; /* pointer to the TOC control data struct
63*/
64 /* @CGA */
65 COUNTU TotNumTOCEntries;/* total number of mult toc entry */
66 PTOCITEM *TOCRoot; /* pointer to the first item in TOC array
67*/
68 PINXDATA IndexData; /* pointer to the INX control data struct
69*/
70 PINDEX *SearchIndexRoot; /* pointer to the root of search index
71array */
72 BYTE TOCUseCount; /* use count for toc */
73 BYTE IndexUseCount; /* use count for Index */
74 USHORT IndexMode; /* flag for ICmd or main Index mode */
75 PBMINFO BMInfo; /* pointer to the bookmark info structure
76*/
77 PFNWP FrameProcAdr; /* frame proc adr */
78 USHORT LineHeight; /* fix scroll line height */
79 USHORT StdCharWidth; /* default font width */
80 USHORT StdCharDescender; /* default max descender */
81 USHORT CharHeight; /* local font height */
82 USHORT CharWidth; /* local font width */
83 USHORT CharDescender; /* loacal max descender */
84 USHORT PMIconWidth; /* + & - Icon width */
85 HBITMAP HPBitmap; /* handle of + bitmap */
86 HBITMAP HMBitmap; /* handle of - Bitmap */
87 USHORT ScrX; /* screen height */
88 USHORT ScrY; /* screen width */
89 USHORT NextWindowID; /* id for next toc window */
90 USHORT CxBorder; /* thicknes of cx border */
91 USHORT CyBorder; /* thicknes of cy border */
92 CP GCPData;
93 INX ActiveTOCIndex; /* TOC index for active page */
94 HACCEL ChildSyshAccel; /* common sys menu for all child
95wnd*/
96 HBITMAP ChildSysHBitmap; /* common sys menu bitmap handle
97*/
98 HAB hAB; /* apps hab if help manager */
99 HMODULE hwndModule; /* help dll module */
100 PCH HelpWindowTitle; /* Help window title */
101 PHELPTABLEX RootHelpTable; /* Main help table */
102 USHORT HelpTableID; /* Help table ID */
103 USHORT ShowPanelID; /* Show panel id flag */
104 USHORT HelpHelpID; /* Help on help panel ID */
105 HWND hwndAssociated; /* this instance is associated
106*/
107 HWND hwndActiveWindow; /* active window handle */
108 HWND hwndRelativeWindow; /* Relative window handle */
109 HMODULE hmodAccelActionBarModule;
110 ULONG idAccelTable; /* @WRN */
111 ULONG idActionBar; /* @WRN */
112 PCH GTutorial; /* globle tutorial name */
113 PCH LTutorial; /* local tutorial name */
114 ULONG HorzPelsPerPointSize;
115 ULONG VertPelsPerPointSize;
116 HMODULE hACVPModule; /* globle AC viewport DLL handle
117*/
118 HWND ACVPComhWnd; /* AC viewport communication
119hwnd */
120 PEXTLNKDATA pExtLnkData; /* TOC new style passing info */
121 HWND BMBasehWnd; /* book manager base window
122handle */
123 HWND BMBookhWnd; /* book manager book handle */
124 USHORT Entry16;
125 PRECTL pCoverPageRect; /* pointer to coverpage init window
126rect */
127 USHORT usMode;
128 PVOID pUserData; /* user data info */
129 PFONTDATA pPrtFontData; /* FontData use in printing mode
130*/
131 PUSERINFO pUserInfoRoot; /* userinfo list root */
132 HWND hwndPrintDlg; /* Print Dialog Window Handle */
133 HWND hwndEntry; /* Window from which help was
134requested */
135 /* ie, which HELPTABLE entry was used
136*/
137 BOOL resourceFlag; /* Help table flag in resource file */
138 BOOL DLLError;
139 USHORT fIsDocBidi; /* Bidi flag showing doc. lang.
140*/
141} INSTANCE, *PINSTANCE;
Note: See TracBrowser for help on using the repository browser.