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