4 * Copyright 1996 Ulrich Schmid
7 #define MAX_LANGUAGE_NUMBER 255
8 #define MAX_PATHNAME_LEN 1024
9 #define MAX_STRING_LEN 255
11 #define INTERNAL_BORDER_WIDTH 5
12 #define POPUP_YDISTANCE 20
23 typedef struct tagHelpLinePart
39 struct tagHelpLinePart
*next
;
42 typedef struct tagHelpLine
45 WINHELP_LINE_PART first_part
;
46 struct tagHelpLine
*next
;
49 typedef struct tagHelpButton
62 struct tagHelpButton
*next
;
65 typedef struct tagWinHelp
69 WINHELP_BUTTON
*first_button
;
71 WINHELP_LINE
*first_line
;
85 struct tagWinHelp
*next
;
93 UINT wStringTableOffset
;
94 WINHELP_WINDOW
*active_win
;
95 WINHELP_WINDOW
*win_list
;
98 extern WINHELP_GLOBALS Globals
;
100 VOID
WINHELP_CreateHelpWindow(LPCSTR
, LONG
, LPCSTR
, BOOL
, HWND
, LPPOINT
, INT
);
101 INT
WINHELP_MessageBoxIDS(UINT
, UINT
, WORD
);
102 INT
WINHELP_MessageBoxIDS_s(UINT
, LPCSTR
, UINT
, WORD
);
104 extern CHAR MAIN_WIN_CLASS_NAME
[];
105 extern CHAR BUTTON_BOX_WIN_CLASS_NAME
[];
106 extern CHAR TEXT_WIN_CLASS_NAME
[];
107 extern CHAR SHADOW_WIN_CLASS_NAME
[];
108 extern CHAR STRING_BUTTON
[];
109 extern CHAR STRING_MENU_Xx
[];
110 extern CHAR STRING_DIALOG_TEST
[];
112 #define STRINGID(id) (0x##id + Globals.wStringTableOffset)
114 #else /* RC_INVOKED */
116 #define STRINGID(id) id
120 /* Stringtable index */
121 #define IDS_LANGUAGE_ID STRINGID(00)
122 #define IDS_WINE_HELP STRINGID(01)
123 #define IDS_ERROR STRINGID(02)
124 #define IDS_WARNING STRINGID(03)
125 #define IDS_INFO STRINGID(04)
126 #define IDS_NOT_IMPLEMENTED STRINGID(05)
127 #define IDS_HLPFILE_ERROR_s STRINGID(06)
128 #define IDS_CONTENTS STRINGID(07)
129 #define IDS_SEARCH STRINGID(08)
130 #define IDS_BACK STRINGID(09)
131 #define IDS_HISTORY STRINGID(0a)
132 #define IDS_ALL_FILES STRINGID(0b)
133 #define IDS_HELP_FILES_HLP STRINGID(0c)
138 #define WH_PRINTER_SETUP 13
142 #define WH_COPY_DIALOG 21
143 #define WH_ANNOTATE 22
145 /* Menu `Bookmark' */
146 #define WH_BOOKMARK_DEFINE 31
149 #define WH_HELP_ON_HELP 41
150 #define WH_HELP_ON_TOP 42
152 #define WH_ABOUT_WINE 44
155 #define WH_FIRST_BUTTON 500
157 /* Local Variables: */
158 /* c-file-style: "GNU" */