4 * Copyright 1996 Ulrich Schmid
5 * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #define MAX_LANGUAGE_NUMBER 255
23 #define MAX_PATHNAME_LEN 1024
24 #define MAX_STRING_LEN 255
26 #define INTERNAL_BORDER_WIDTH 5
27 #define POPUP_YDISTANCE 20
37 #include "winhelp_res.h"
39 typedef struct tagHelpLinePart
55 struct tagHelpLinePart *next;
58 typedef struct tagHelpLine
61 WINHELP_LINE_PART first_part;
62 struct tagHelpLine *next;
65 typedef struct tagHelpButton
78 struct tagHelpButton *next;
81 typedef struct tagWinHelp
85 WINHELP_BUTTON *first_button;
87 WINHELP_LINE *first_line;
101 struct tagWinHelp *next;
109 UINT wStringTableOffset;
110 WINHELP_WINDOW *active_win;
111 WINHELP_WINDOW *win_list;
114 extern WINHELP_GLOBALS Globals;
116 VOID WINHELP_CreateHelpWindow(LPCSTR, LONG, LPCSTR, BOOL, HWND, LPPOINT, INT);
117 INT WINHELP_MessageBoxIDS(UINT, UINT, WORD);
118 INT WINHELP_MessageBoxIDS_s(UINT, LPCSTR, UINT, WORD);
120 extern CHAR MAIN_WIN_CLASS_NAME[];
121 extern CHAR BUTTON_BOX_WIN_CLASS_NAME[];
122 extern CHAR TEXT_WIN_CLASS_NAME[];
123 extern CHAR SHADOW_WIN_CLASS_NAME[];
124 extern CHAR STRING_BUTTON[];
125 extern CHAR STRING_MENU_Xx[];
126 extern CHAR STRING_DIALOG_TEST[];
130 #define WH_FIRST_BUTTON 500
132 /* Local Variables: */
133 /* c-file-style: "GNU" */