ca6987fc73379590e42eafb702a08f6b28d61f57
[reactos.git] / reactos / base / shell / progman / progman.rc
1 /*
2 * Program Manager
3 *
4 * Copyright 1996 Ulrich Schmid
5 * Copyright 2002 Sylvain Petreolle
6 *
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.
11 *
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.
16 *
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 */
21
22 #include <windef.h>
23 #include <winuser.h>
24
25 #include "resource.h"
26
27 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
28
29 #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Program Manager"
30 #define REACTOS_STR_INTERNAL_NAME "progman"
31 #define REACTOS_STR_ORIGINAL_FILENAME "progman.exe"
32 #include <reactos/version.rc>
33
34 IDI_APPICON ICON "res/progman.ico"
35
36 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
37
38 MAIN_MENU MENU
39 {
40 POPUP "&File" {
41 MENUITEM "&New...", PM_NEW
42 MENUITEM "O&pen\tEnter", PM_OPEN
43 MENUITEM "&Move...\tF7", PM_MOVE, GRAYED
44 MENUITEM "&Copy...\tF8", PM_COPY, GRAYED
45 MENUITEM "&Delete\tDel", PM_DELETE
46 MENUITEM "&Properties\tAlt+Enter", PM_ATTRIBUTES
47 MENUITEM SEPARATOR
48 MENUITEM "&Execute...", PM_EXECUTE
49 MENUITEM SEPARATOR
50 MENUITEM "E&xit Windows", PM_EXIT
51 }
52 POPUP "&Options" {
53 MENUITEM "&Arrange automatically", PM_AUTO_ARRANGE
54 MENUITEM "&Minimize on run", PM_MIN_ON_RUN
55 MENUITEM "&Save settings on exit", PM_SAVE_SETTINGS
56 }
57 POPUP "&Windows" {
58 MENUITEM "&Overlapped\tShift+F5", PM_OVERLAP
59 MENUITEM "&Side by side\tShift+F4", PM_SIDE_BY_SIDE
60 MENUITEM "&Arrange Icons", PM_ARRANGE
61 }
62
63 POPUP "&Help" {
64 MENUITEM "&Contents\tF1", PM_CONTENTS
65 MENUITEM "&About Program Manager", PM_ABOUT_WINE
66 }
67 }
68
69 STRINGTABLE
70 {
71 IDS_PROGRAM_MANAGER, "Program Manager"
72 IDS_ERROR, "ERROR"
73 IDS_WARNING, "WARNING"
74 IDS_INFO, "Information"
75 IDS_DELETE, "Delete"
76 IDS_DELETE_GROUP_s, "Delete group `%s'?"
77 IDS_DELETE_PROGRAM_s, "Delete program `%s'?"
78 IDS_NOT_IMPLEMENTED, "Not implemented"
79 IDS_FILE_READ_ERROR_s, "Error reading `%s'."
80 IDS_FILE_WRITE_ERROR_s, "Error writing `%s'."
81 IDS_GRPFILE_READ_ERROR_s, "\
82 The group file `%s' cannot be opened.\n\
83 Should it be tried further on?"
84 IDS_OUT_OF_MEMORY, "Out of memory."
85 IDS_WINHELP_ERROR, "Help not available."
86 IDS_UNKNOWN_FEATURE_s, "Unknown feature in %s"
87 IDS_FILE_NOT_OVERWRITTEN_s, "File `%s' exists. Not overwritten."
88 IDS_SAVE_GROUP_AS_s, "Save group as `%s to prevent overwriting original files."
89 IDS_NO_HOT_KEY, "#msgctxt#hotkey#None"
90 IDS_ALL_FILES, "All files (*.*)"
91 IDS_PROGRAMS, "Programs"
92 IDS_LIBRARIES_DLL, "Libraries (*.dll)"
93 IDS_SYMBOL_FILES, "Icon files"
94 IDS_SYMBOLS_ICO, "Icons (*.ico)"
95 }
96
97 IDA_ACCEL ACCELERATORS
98 {
99 VK_F1, PM_CONTENTS, VIRTKEY
100 VK_RETURN, PM_ATTRIBUTES, VIRTKEY, ALT
101 }
102
103 /* Dialog `New' */
104
105 IDD_NEW DIALOG 0, 0, 170, 65
106 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
107 FONT 8, "MS Shell Dlg"
108 CAPTION "New"
109 {
110 RADIOBUTTON "", PM_NEW_GROUP, 10, 15, 10, 15
111 LTEXT "Program &group", -1, 20, 18, 80, 15
112 RADIOBUTTON "", PM_NEW_PROGRAM, 10, 35, 10, 15
113 LTEXT "&Program", -1, 20, 38, 80, 15
114 DEFPUSHBUTTON "OK", IDOK, 105, 5, 60, 15, WS_TABSTOP
115 PUSHBUTTON "Cancel", IDCANCEL, 105, 25, 60, 15, WS_TABSTOP
116 PUSHBUTTON "&Help", PM_HELP, 105, 45, 60, 15, WS_TABSTOP
117 }
118
119 /* Dialog `Move' */
120
121 IDD_MOVE DIALOG 0, 0, 250, 65
122 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
123 FONT 8, "MS Shell Dlg"
124 CAPTION "Move Program"
125 {
126 LTEXT "Move program:", -1, 5, 5, 90, 15
127 LTEXT "", PM_PROGRAM, 95, 5, 90, 15
128 LTEXT "From group:", -1, 5, 13, 90, 15
129 LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
130 LTEXT "&To group:", PM_TO_GROUP_TXT, 5, 28, 140, 15
131 COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
132 DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
133 PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
134 PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
135 }
136
137 /* Dialog `Copy' */
138
139 IDD_COPY DIALOG 0, 0, 250, 65
140 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
141 FONT 8, "MS Shell Dlg"
142 CAPTION "Copy Program"
143 {
144 LTEXT "Copy program:", -1, 5, 5, 90, 15
145 LTEXT "", PM_PROGRAM, 95, 5, 90, 15
146 LTEXT "From group:", -1, 5, 13, 90, 15
147 LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
148 LTEXT "&To group:", PM_TO_GROUP_TXT, 5, 28, 140, 15
149 COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
150 DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
151 PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
152 PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
153 }
154
155 /* Dialog `Group attributes' */
156
157 IDD_GROUP DIALOG 0, 0, 250, 65
158 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
159 FONT 8, "MS Shell Dlg"
160 CAPTION "Program Group Attributes"
161 {
162 LTEXT "&Description:", PM_DESCRIPTION_TXT, 5, 18, 60, 15
163 EDITTEXT PM_DESCRIPTION, 70, 18, 110, 15, WS_TABSTOP
164 LTEXT "&Group file:", PM_FILE_TXT, 5, 38, 60, 15
165 EDITTEXT PM_FILE, 70, 38, 110, 15, WS_TABSTOP
166 DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
167 PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
168 PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
169 }
170
171 /* Dialog `Program attributes' */
172
173 IDD_PROGRAM DIALOG 0, 0, 275, 105
174 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
175 FONT 8, "MS Shell Dlg"
176 CAPTION "Program Attributes"
177 {
178 LTEXT "&Description:", PM_DESCRIPTION_TXT, 5, 10, 75, 10
179 EDITTEXT PM_DESCRIPTION, 95, 10, 90, 15, WS_TABSTOP
180 LTEXT "&Command line:", PM_COMMAND_LINE_TXT, 5, 25, 75, 10
181 EDITTEXT PM_COMMAND_LINE, 95, 25, 90, 15, WS_TABSTOP
182 LTEXT "&Working directory:", PM_DIRECTORY_TXT, 5, 40, 75, 10
183 EDITTEXT PM_DIRECTORY, 95, 40, 90, 15, WS_TABSTOP
184 LTEXT "&Key combination:", PM_HOT_KEY_TXT, 5, 55, 75, 10
185 EDITTEXT PM_HOT_KEY, 95, 55, 90, 15, WS_TABSTOP
186 #ifdef __REACTOS__
187 ICON "", PM_ICON, 20, 70, 20, 20
188 #else
189 ICON "", PM_ICON, 20, 70
190 #endif
191 CHECKBOX "&Minimize at launch", PM_SYMBOL, 95, 75, 90, 10, WS_TABSTOP
192 DEFPUSHBUTTON "OK", IDOK, 200, 5, 70, 15, WS_TABSTOP
193 PUSHBUTTON "Cancel", IDCANCEL, 200, 25, 70, 15, WS_TABSTOP
194 PUSHBUTTON "&Browse...", PM_BROWSE, 200, 45, 70, 15, WS_TABSTOP
195 PUSHBUTTON "Change &icon...", PM_OTHER_SYMBOL, 200, 65, 70, 15, WS_TABSTOP
196 PUSHBUTTON "&Help", PM_HELP, 200, 85, 70, 15, WS_TABSTOP
197 }
198
199 /* Dialog `Symbol' */
200
201 IDD_SYMBOL DIALOG 0, 0, 240, 85
202 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
203 FONT 8, "MS Shell Dlg"
204 CAPTION "Change Icon"
205 {
206 LTEXT "&Filename:", PM_ICON_FILE_TXT, 5, 15, 60, 10
207 EDITTEXT PM_ICON_FILE, 65, 15, 105, 15, WS_TABSTOP
208 LTEXT "Current &icon:", PM_SYMBOL_LIST_TXT, 5, 30, 60, 10
209 COMBOBOX PM_SYMBOL_LIST, 5, 40, 60, 50,
210 CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
211 DEFPUSHBUTTON "OK", IDOK, 175, 5, 60, 15, WS_TABSTOP
212 PUSHBUTTON "Cancel", IDCANCEL, 175, 25, 60, 15, WS_TABSTOP
213 PUSHBUTTON "&Browse...", PM_BROWSE, 175, 45, 60, 15, WS_TABSTOP
214 PUSHBUTTON "&Help", PM_HELP, 175, 65, 60, 15, WS_TABSTOP
215 }
216
217 /* Dialog `Execute' */
218
219 IDD_EXECUTE DIALOG 0, 0, 200, 85
220 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
221 FONT 8, "MS Shell Dlg"
222 CAPTION "Execute Program"
223 {
224 LTEXT "&Command line:", -1, 05, 15, 120, 10
225 EDITTEXT PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
226 CHECKBOX "", PM_SYMBOL, 05, 45, 10, 10, WS_TABSTOP
227 LTEXT "&Minimize at launch", -1, 20, 45, 120, 10
228 DEFPUSHBUTTON "OK", IDOK, 135, 5, 60, 15, WS_TABSTOP
229 PUSHBUTTON "Cancel", IDCANCEL, 135, 25, 60, 15, WS_TABSTOP
230 PUSHBUTTON "&Browse...", PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP
231 PUSHBUTTON "&Help", PM_HELP, 135, 65, 60, 15, WS_TABSTOP
232 }