Propagate the root folder's attributes to the registry.
[wine/multimedia.git] / programs / progman / Xx.rc
blob6b0c087ebb4c9a7d4ef71d032572a0b6e1c7bb67
1 /*
2  * Program Manager
3  *
4  * Copyright 1996 Ulrich Schmid
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
21 /* Menu */
23 CONCAT(MENU_, LANGUAGE_ID) MENU
25  POPUP MENU_FILE {
26    MENUITEM MENU_FILE_NEW,              PM_NEW
27    MENUITEM MENU_FILE_OPEN,             PM_OPEN
28    MENUITEM MENU_FILE_MOVE,             PM_MOVE,      GRAYED
29    MENUITEM MENU_FILE_COPY,             PM_COPY,      GRAYED
30    MENUITEM MENU_FILE_DELETE,           PM_DELETE
31    MENUITEM MENU_FILE_ATTRIBUTES,       PM_ATTRIBUTES
32    MENUITEM SEPARATOR
33    MENUITEM MENU_FILE_EXECUTE,          PM_EXECUTE
34    MENUITEM SEPARATOR
35    MENUITEM MENU_FILE_EXIT,             PM_EXIT
36  }
37  POPUP MENU_OPTIONS {
38    MENUITEM MENU_OPTIONS_AUTO_ARRANGE,  PM_AUTO_ARRANGE
39    MENUITEM MENU_OPTIONS_MIN_ON_RUN,    PM_MIN_ON_RUN
40    MENUITEM MENU_OPTIONS_SAVE_SETTINGS, PM_SAVE_SETTINGS
41  }
42  POPUP MENU_WINDOWS {
43    MENUITEM MENU_WINDOWS_OVERLAP,       PM_OVERLAP
44    MENUITEM MENU_WINDOWS_SIDE_BY_SIDE,  PM_SIDE_BY_SIDE
45    MENUITEM MENU_WINDOWS_ARRANGE,       PM_ARRANGE
46  }
47  POPUP MENU_LANGUAGE {
48    /* Dummy item, will be removed */
49    MENUITEM SEPARATOR
50  }
51  POPUP MENU_HELP {
52    MENUITEM MENU_HELP_CONTENTS,         PM_CONTENTS
53    MENUITEM MENU_HELP_SEARCH,           PM_SEARCH
54    MENUITEM SEPARATOR
55    MENUITEM MENU_HELP_HELP_ON_HELP,     PM_HELPONHELP
56    MENUITEM MENU_HELP_TUTORIAL,         PM_TUTORIAL
57    MENUITEM SEPARATOR
59    POPUP MENU_INFO {
60      MENUITEM MENU_INFO_LICENSE,        PM_LICENSE
61      MENUITEM MENU_INFO_NO_WARRANTY,    PM_NO_WARRANTY
62      MENUITEM MENU_INFO_ABOUT_WINE,     PM_ABOUT_WINE
63    }
64  }
67 /* Dialog `New' */
69 CONCAT(DIALOG_NEW_, LANGUAGE_ID) DIALOG 0, 0, 170, 65
70 STYLE DS_MODALFRAME
71 CAPTION DIALOG_NEW_CAPTION
73 RADIOBUTTON   "",                 PM_NEW_GROUP,    10, 15,  10, 15
74 LTEXT         DIALOG_NEW_GROUP,   PM_NEW_GROUP,    20, 18,  80, 15
75 RADIOBUTTON   "",                 PM_NEW_PROGRAM,  10, 35,  10, 15
76 LTEXT         DIALOG_NEW_PROGRAM, PM_NEW_PROGRAM,  20, 38,  80, 15
77 DEFPUSHBUTTON DIALOG_OK,          IDOK,           105,  5,  60, 15, WS_TABSTOP
78 PUSHBUTTON    DIALOG_CANCEL,      IDCANCEL,       105, 25,  60, 15, WS_TABSTOP
79 PUSHBUTTON    DIALOG_HELP,        PM_HELP,        105, 45,  60, 15, WS_TABSTOP
82 /* Dialog `Move' */
84 CONCAT(DIALOG_MOVE_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
85 STYLE DS_MODALFRAME
86 CAPTION DIALOG_MOVE_CAPTION
88 LTEXT         DIALOG_MOVE_PROGRAM,    IDIGNORE,            5,  5,  90, 15
89 LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
90 LTEXT         DIALOG_MOVE_FROM_GROUP, IDIGNORE,            5, 13,  90, 15
91 LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
92 LTEXT         DIALOG_MOVE_TO_GROUP,   PM_TO_GROUP_TXT,     5, 28, 140, 15
93 COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
94 DEFPUSHBUTTON DIALOG_OK,              IDOK,              185,  5,  60, 15, WS_TABSTOP
95 PUSHBUTTON    DIALOG_CANCEL,          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
96 PUSHBUTTON    DIALOG_HELP,            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
99 /* Dialog `Copy' */
101 CONCAT(DIALOG_COPY_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
102 STYLE DS_MODALFRAME
103 CAPTION DIALOG_COPY_CAPTION
105 LTEXT         DIALOG_COPY_PROGRAM,    IDIGNORE,            5,  5,  90, 15
106 LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
107 LTEXT         DIALOG_COPY_FROM_GROUP, IDIGNORE,            5, 13,  90, 15
108 LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
109 LTEXT         DIALOG_COPY_TO_GROUP,   PM_TO_GROUP_TXT,     5, 28, 140, 15
110 COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
111 DEFPUSHBUTTON DIALOG_OK,              IDOK,              185,  5,  60, 15, WS_TABSTOP
112 PUSHBUTTON    DIALOG_CANCEL,          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
113 PUSHBUTTON    DIALOG_HELP,            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
116 /* Dialog `Group attributes' */
118 CONCAT(DIALOG_GROUP_, LANGUAGE_ID) DIALOG 0, 0, 230, 65
119 STYLE DS_MODALFRAME
120 CAPTION DIALOG_GROUP_CAPTION
122 LTEXT     DIALOG_GROUP_DESCRIPTION, PM_DESCRIPTION_TXT,   05, 18,  50, 10
123 EDITTEXT                            PM_DESCRIPTION,       60, 18,  90, 15, WS_TABSTOP
124 LTEXT     DIALOG_GROUP_FILE,        PM_FILE_TXT,          05, 38,  50, 10
125 EDITTEXT                            PM_FILE,              60, 38,  90, 15, WS_TABSTOP
126 DEFPUSHBUTTON DIALOG_OK,            IDOK,                155,  5,  60, 15, WS_TABSTOP
127 PUSHBUTTON    DIALOG_CANCEL,        IDCANCEL,            155, 25,  60, 15, WS_TABSTOP
128 PUSHBUTTON    DIALOG_HELP,          PM_HELP,             155, 45,  60, 15, WS_TABSTOP
131 /* Dialog `Program attributes' */
133 CONCAT(DIALOG_PROGRAM_, LANGUAGE_ID) DIALOG 0, 0, 250, 105
134 STYLE DS_MODALFRAME
135 CAPTION DIALOG_PROGRAM_CAPTION
137 LTEXT         DIALOG_PROGRAM_DESCRIPTION,  PM_DESCRIPTION_TXT,   05, 10,  60, 10
138 EDITTEXT                                   PM_DESCRIPTION,       80, 10,  90, 15, WS_TABSTOP
139 LTEXT         DIALOG_PROGRAM_COMMAND_LINE, PM_COMMAND_LINE_TXT,  05, 25,  60, 10
140 EDITTEXT                                   PM_COMMAND_LINE,      80, 25,  90, 15, WS_TABSTOP
141 LTEXT         DIALOG_PROGRAM_DIRECTORY,    PM_DIRECTORY_TXT,     05, 40,  60, 10
142 EDITTEXT                                   PM_DIRECTORY,         80, 40,  90, 15, WS_TABSTOP
143 LTEXT         DIALOG_PROGRAM_HOT_KEY,      PM_HOT_KEY_TXT,       05, 55,  60, 10
144 EDITTEXT                                   PM_HOT_KEY,           80, 55,  90, 15, WS_TABSTOP
145 ICON          "",                          PM_ICON,              20, 70
146 CHECKBOX      "",                          PM_SYMBOL,            80, 75,  10, 10, WS_TABSTOP
147 LTEXT         DIALOG_PROGRAM_SYMBOL,       IDIGNORE,             95, 75,  75, 10
148 DEFPUSHBUTTON DIALOG_OK,                   IDOK,                185,  5,  60, 15, WS_TABSTOP
149 PUSHBUTTON    DIALOG_CANCEL,               IDCANCEL,            185, 25,  60, 15, WS_TABSTOP
150 PUSHBUTTON    DIALOG_BROWSE,               PM_BROWSE,           185, 45,  60, 15, WS_TABSTOP
151 PUSHBUTTON    DIALOG_PROGRAM_OTHER_SYMBOL, PM_OTHER_SYMBOL,     185, 65,  60, 15, WS_TABSTOP
152 PUSHBUTTON    DIALOG_HELP,                 PM_HELP,             185, 85,  60, 15, WS_TABSTOP
155 /* Dialog `Symbol' */
157 CONCAT(DIALOG_SYMBOL_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
158 STYLE DS_MODALFRAME
159 CAPTION DIALOG_SYMBOL_CAPTION
161 LTEXT     DIALOG_SYMBOL_FILE,    PM_ICON_FILE_TXT,    5, 15,  40, 10
162 EDITTEXT                         PM_ICON_FILE,       45, 15,  85, 15, WS_TABSTOP
163 LTEXT     DIALOG_SYMBOL_CURRENT, PM_SYMBOL_LIST_TXT,  5, 30, 125, 10
164 COMBOBOX                         PM_SYMBOL_LIST,      5, 40, 125, 50,
165    CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
166 DEFPUSHBUTTON DIALOG_OK,         IDOK,              135,  5,  60, 15, WS_TABSTOP
167 PUSHBUTTON    DIALOG_CANCEL,     IDCANCEL,          135, 25,  60, 15, WS_TABSTOP
168 PUSHBUTTON    DIALOG_BROWSE ,    PM_BROWSE,         135, 45,  60, 15, WS_TABSTOP
169 PUSHBUTTON    DIALOG_HELP,       PM_HELP,           135, 65,  60, 15, WS_TABSTOP
172 /* Dialog `Execute' */
174 CONCAT(DIALOG_EXECUTE_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
175 STYLE DS_MODALFRAME
176 CAPTION DIALOG_EXECUTE_CAPTION
178 LTEXT     DIALOG_EXECUTE_COMMAND_LINE, IDIGNORE,   05, 15, 120, 10
179 EDITTEXT                               PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
180 CHECKBOX      "",                      PM_SYMBOL,  05, 45,  10, 10, WS_TABSTOP
181 LTEXT         DIALOG_EXECUTE_SYMBOL,   IDIGNORE,   20, 45, 120, 10
182 DEFPUSHBUTTON DIALOG_OK,               IDOK,      135,  5,  60, 15, WS_TABSTOP
183 PUSHBUTTON    DIALOG_CANCEL,           IDCANCEL,  135, 25,  60, 15, WS_TABSTOP
184 PUSHBUTTON    DIALOG_BROWSE ,          PM_BROWSE, 135, 45,  60, 15, WS_TABSTOP
185 PUSHBUTTON    DIALOG_HELP,             PM_HELP,   135, 65,  60, 15, WS_TABSTOP
188 /* Strings */
190 #define STRING_LANGUAGE_ID        STRINGIFY(LANGUAGE_ID)
191 #define STRING_LANGUAGE_MENU_ITEM LANGUAGE_MENU_ITEM
193 STRINGTABLE
195 ADDSTRING(LANGUAGE_ID)
196 ADDSTRING(LANGUAGE_MENU_ITEM)
197 ADDSTRING(PROGRAM_MANAGER)
198 ADDSTRING(ERROR)
199 ADDSTRING(WARNING)
200 ADDSTRING(INFO)
201 ADDSTRING(DELETE)
202 ADDSTRING(DELETE_GROUP_s)
203 ADDSTRING(DELETE_PROGRAM_s)
204 ADDSTRING(NOT_IMPLEMENTED)
205 ADDSTRING(FILE_READ_ERROR_s)
206 ADDSTRING(FILE_WRITE_ERROR_s)
207 ADDSTRING(GRPFILE_READ_ERROR_s)
208 ADDSTRING(OUT_OF_MEMORY)
209 ADDSTRING(WINHELP_ERROR)
210 ADDSTRING(UNKNOWN_FEATURE_s)
211 ADDSTRING(FILE_NOT_OVERWRITTEN_s)
212 ADDSTRING(SAVE_GROUP_AS_s)
213 ADDSTRING(NO_HOT_KEY)
214 ADDSTRING(ALL_FILES)
215 ADDSTRING(PROGRAMS)
216 ADDSTRING(LIBRARIES_DLL)
217 ADDSTRING(SYMBOL_FILES)
218 ADDSTRING(SYMBOLS_ICO)
222 /* Undefine all language-specific strings */
224 #undef LANGUAGE_ID
225 #undef LANGUAGE_NUMBER
226 #undef LANGUAGE_MENU_ITEM
228 #undef MENU_FILE
229 #undef MENU_FILE_NEW
230 #undef MENU_FILE_OPEN
231 #undef MENU_FILE_MOVE
232 #undef MENU_FILE_COPY
233 #undef MENU_FILE_DELETE
234 #undef MENU_FILE_ATTRIBUTES
235 #undef MENU_FILE_EXECUTE
236 #undef MENU_FILE_EXIT
237 #undef MENU_OPTIONS
238 #undef MENU_OPTIONS_AUTO_ARRANGE
239 #undef MENU_OPTIONS_MIN_ON_RUN
240 #undef MENU_OPTIONS_SAVE_SETTINGS
241 #undef MENU_WINDOWS
242 #undef MENU_WINDOWS_OVERLAP
243 #undef MENU_WINDOWS_SIDE_BY_SIDE
244 #undef MENU_WINDOWS_ARRANGE
245 #undef MENU_LANGUAGE
246 #undef MENU_HELP
247 #undef MENU_HELP_CONTENTS
248 #undef MENU_HELP_SEARCH
249 #undef MENU_HELP_HELP_ON_HELP
250 #undef MENU_HELP_TUTORIAL
251 #undef MENU_INFO
252 #undef MENU_INFO_LICENSE
253 #undef MENU_INFO_NO_WARRANTY
254 #undef MENU_INFO_ABOUT_WINE
256 #undef DIALOG_OK
257 #undef DIALOG_CANCEL
258 #undef DIALOG_BROWSE
259 #undef DIALOG_HELP
260 #undef DIALOG_NEW_CAPTION
261 #undef DIALOG_NEW_NEW
262 #undef DIALOG_NEW_GROUP
263 #undef DIALOG_NEW_PROGRAM
264 #undef DIALOG_MOVE_CAPTION
265 #undef DIALOG_MOVE_PROGRAM
266 #undef DIALOG_MOVE_FROM_GROUP
267 #undef DIALOG_MOVE_TO_GROUP
268 #undef DIALOG_COPY_CAPTION
269 #undef DIALOG_COPY_PROGRAM
270 #undef DIALOG_COPY_FROM_GROUP
271 #undef DIALOG_COPY_TO_GROUP
272 #undef DIALOG_GROUP_CAPTION
273 #undef DIALOG_GROUP_DESCRIPTION
274 #undef DIALOG_GROUP_FILE
275 #undef DIALOG_PROGRAM_CAPTION
276 #undef DIALOG_PROGRAM_DESCRIPTION
277 #undef DIALOG_PROGRAM_COMMAND_LINE
278 #undef DIALOG_PROGRAM_DIRECTORY
279 #undef DIALOG_PROGRAM_HOT_KEY
280 #undef DIALOG_PROGRAM_SYMBOL
281 #undef DIALOG_PROGRAM_OTHER_SYMBOL
282 #undef DIALOG_SYMBOL_CAPTION
283 #undef DIALOG_SYMBOL_FILE
284 #undef DIALOG_SYMBOL_CURRENT
285 #undef DIALOG_EXECUTE_CAPTION
286 #undef DIALOG_EXECUTE_COMMAND_LINE
287 #undef DIALOG_EXECUTE_SYMBOL
289 #undef STRING_LANGUAGE_ID
290 #undef STRING_LANGUAGE_MENU_ITEM
291 #undef STRING_PROGRAM_MANAGER
292 #undef STRING_ERROR
293 #undef STRING_WARNING
294 #undef STRING_INFO
295 #undef STRING_DELETE
296 #undef STRING_DELETE_GROUP_s
297 #undef STRING_DELETE_PROGRAM_s
298 #undef STRING_NOT_IMPLEMENTED
299 #undef STRING_FILE_READ_ERROR_s
300 #undef STRING_FILE_WRITE_ERROR_s
301 #undef STRING_GRPFILE_READ_ERROR_s
302 #undef STRING_OUT_OF_MEMORY
303 #undef STRING_WINHELP_ERROR
304 #undef STRING_UNKNOWN_FEATURE_s
305 #undef STRING_FILE_NOT_OVERWRITTEN_s
306 #undef STRING_SAVE_GROUP_AS_s
307 #undef STRING_NO_HOT_KEY
308 #undef STRING_ALL_FILES
309 #undef STRING_PROGRAMS
310 #undef STRING_LIBRARIES_DLL
311 #undef STRING_SYMBOL_FILES
312 #undef STRING_SYMBOLS_ICO