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