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
;
82 struct tagWinHelp
*next
;
90 UINT wStringTableOffset
;
91 WINHELP_WINDOW
*active_win
;
92 WINHELP_WINDOW
*win_list
;
95 extern WINHELP_GLOBALS Globals
;
97 VOID
WINHELP_CreateHelpWindow(LPCSTR
, LONG
, LPCSTR
, BOOL
, HWND
, LPPOINT
, INT
);
98 INT
WINHELP_MessageBoxIDS(UINT
, UINT
, WORD
);
99 INT
WINHELP_MessageBoxIDS_s(UINT
, LPCSTR
, UINT
, WORD
);
101 extern CHAR MAIN_WIN_CLASS_NAME
[];
102 extern CHAR BUTTON_BOX_WIN_CLASS_NAME
[];
103 extern CHAR TEXT_WIN_CLASS_NAME
[];
104 extern CHAR SHADOW_WIN_CLASS_NAME
[];
105 extern CHAR STRING_BUTTON
[];
106 extern CHAR STRING_MENU_Xx
[];
107 extern CHAR STRING_DIALOG_TEST
[];
109 #define STRINGID(id) (0x##id + Globals.wStringTableOffset)
111 #else /* RC_INVOKED */
113 #define STRINGID(id) id
117 /* Stringtable index */
118 #define IDS_LANGUAGE_ID STRINGID(00)
119 #define IDS_WINE_HELP STRINGID(01)
120 #define IDS_ERROR STRINGID(02)
121 #define IDS_WARNING STRINGID(03)
122 #define IDS_INFO STRINGID(04)
123 #define IDS_NOT_IMPLEMENTED STRINGID(05)
124 #define IDS_HLPFILE_ERROR_s STRINGID(06)
125 #define IDS_CONTENTS STRINGID(07)
126 #define IDS_SEARCH STRINGID(08)
127 #define IDS_BACK STRINGID(09)
128 #define IDS_HISTORY STRINGID(0a)
129 #define IDS_ALL_FILES STRINGID(0b)
130 #define IDS_HELP_FILES_HLP STRINGID(0c)
135 #define WH_PRINTER_SETUP 13
139 #define WH_COPY_DIALOG 21
140 #define WH_ANNOTATE 22
142 /* Menu `Bookmark' */
143 #define WH_BOOKMARK_DEFINE 31
146 #define WH_HELP_ON_HELP 41
147 #define WH_HELP_ON_TOP 42
149 #define WH_ABOUT_WINE 44
152 #define WH_FIRST_BUTTON 500
154 /* Local Variables: */
155 /* c-file-style: "GNU" */