source: trunk/src/shell32/shres.orc@ 5280

Last change on this file since 5280 was 4706, checked in by sandervl, 25 years ago

KS: icon index fix

File size: 9.2 KB
Line 
1/* $Id: shres.orc,v 1.10 2000-11-28 11:00:47 sandervl Exp $ */
2/*
3 * Top level resource file for Common Dialogs
4 *
5 */
6
7#include "winuser.h"
8#include "winnls.h"
9#include "shlobj.h"
10#include "shresdef.h"
11#include "odinrsrc.h"
12
13/*--------------------- FIXME --------------------------
14 *
15 * These must be seperated into the language files
16 * and translated. The language 0,0 is a hack to get it
17 * loaded properly for all languages by pretending that
18 * they are neutral.
19 * The menus are not jet properly implemented.
20 * Don't localize it yet. (js)
21 */
22
23LANGUAGE 0,0
24
25//SvL: Odin logo bitmap
265555 BITMAP DISCARDABLE "Odinlogo.bmp"
27
28MENU_001 MENU DISCARDABLE
29BEGIN
30 MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
31 MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
32 MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
33 MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
34END
35
36/*
37 shellview background menu
38*/
39MENU_002 MENU DISCARDABLE
40BEGIN
41 POPUP""
42 BEGIN
43 POPUP "&View"
44 BEGIN
45 MENUITEM "Lar&ge Icons", FCIDM_SHVIEW_BIGICON
46 MENUITEM "S&mall Icons", FCIDM_SHVIEW_SMALLICON
47 MENUITEM "&List", FCIDM_SHVIEW_LISTVIEW
48 MENUITEM "&Details", FCIDM_SHVIEW_REPORTVIEW
49 END
50 MENUITEM SEPARATOR
51 POPUP "Arrange &Icons"
52 BEGIN
53 MENUITEM "By &Name", 0x30 /* column 0 */
54 MENUITEM "By &Type", 0x32 /* column 2 */
55 MENUITEM "By &Size", 0x31 /* ... */
56 MENUITEM "By &Date", 0x33
57 MENUITEM SEPARATOR
58 MENUITEM "&Auto Arrange", FCIDM_SHVIEW_AUTOARRANGE
59 END
60 MENUITEM "Line up Icons", FCIDM_SHVIEW_SNAPTOGRID
61 MENUITEM SEPARATOR
62 MENUITEM "Refresh", FCIDM_SHVIEW_REFRESH
63 MENUITEM SEPARATOR
64 MENUITEM "Paste", FCIDM_SHVIEW_INSERT
65 MENUITEM "Paste as Link", FCIDM_SHVIEW_INSERTLINK
66 MENUITEM SEPARATOR
67 POPUP "New"
68 BEGIN
69 MENUITEM "New &Folder", FCIDM_SHVIEW_NEWFOLDER
70 MENUITEM "New &Link", FCIDM_SHVIEW_NEWLINK
71 MENUITEM SEPARATOR
72 END
73 MENUITEM SEPARATOR
74 MENUITEM "Properties", FCIDM_SHVIEW_PROPERTIES
75 END
76END
77
78/*
79 shellview item menu
80*/
81MENU_SHV_FILE MENU DISCARDABLE
82BEGIN
83 POPUP""
84 BEGIN
85 MENUITEM "E&xplore", FCIDM_SHVIEW_CUT
86 MENUITEM "&Open", FCIDM_SHVIEW_COPY
87 MENUITEM SEPARATOR
88 MENUITEM "C&ut", FCIDM_SHVIEW_CUT
89 MENUITEM "&Copy", FCIDM_SHVIEW_COPY
90 MENUITEM SEPARATOR
91 MENUITEM "&Create Link", FCIDM_SHVIEW_CREATELINK
92 MENUITEM "&Delete", FCIDM_SHVIEW_DELETE
93 MENUITEM "&Rename", FCIDM_SHVIEW_RENAME
94 MENUITEM SEPARATOR
95 MENUITEM "&Properties", FCIDM_SHVIEW_PROPERTIES
96 END
97END
98
99SHBRSFORFOLDER_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 188, 192
100STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
101CAPTION "Choose a Directory:"
102FONT 8, "Helv"
103{
104 DEFPUSHBUTTON "OK", 1, 80, 176, 50, 12, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
105 PUSHBUTTON "Cancel", 2, 134, 176, 50, 12, WS_GROUP | WS_TABSTOP
106 LTEXT "", IDD_TITLE, 4, 4, 18, 12
107 LTEXT "", IDD_STATUS, 4, 25, 18, 12
108 CONTROL "Tree1",IDD_TREEVIEW,"SysTreeView32",
109 TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT |
110 WS_BORDER | WS_TABSTOP,
111 4, 40, 180, 120
112}
113
114/*
115 special folders
116*/
117STRINGTABLE DISCARDABLE
118{
119 IDS_DESKTOP "Desktop"
120 IDS_MYCOMPUTER "My Computer"
121}
122
123/*
124 context menus
125*/
126STRINGTABLE DISCARDABLE
127{
128 IDS_VIEW_LARGE "Lar&ge Icons"
129 IDS_VIEW_SMALL "S&mall Icons"
130 IDS_VIEW_LIST "&List"
131 IDS_VIEW_DETAILS "&Details"
132 IDS_SELECT "Select"
133 IDS_OPEN "Open"
134}
135
136STRINGTABLE DISCARDABLE
137{
138 IDS_CREATEFOLDER_DENIED "Can not create new Folder: Permission denied."
139 IDS_CREATEFOLDER_CAPTION "Error during creating a new folder"
140 IDS_DELETEFOLDER_TEXT "Are you sure you want to delete %1 and all it's subfolders?"
141 IDS_DELETEFOLDER_CAPTION "Confirm file delete"
142}
143
144shv_accel ACCELERATORS
145BEGIN
146 VK_F5, FCIDM_SHVIEW_REFRESH, VIRTKEY
147END
148
149/////////////////////////////////////////////////////////////////////////////
150//
151// Version (based on NT 4 SP6 + IE 5.01)
152//
153
1541 VERSIONINFO
155 FILEVERSION 0x05, 0x00, 0x0B67, 0x18A0
156 PRODUCTVERSION 0x05, 0x00, 0x0B67, 0x18A0
157 FILEFLAGSMASK 0x3fL
158 FILEFLAGS 0xaL
159 FILEOS 0x10001L
160 FILETYPE 0x1L
161 FILESUBTYPE 0x0L
162BEGIN
163 BLOCK "StringFileInfo"
164 BEGIN
165 BLOCK "040904E4"
166 BEGIN
167 VALUE "Comments", "Odin32 System Dll\0"
168 VALUE "CompanyName", "Odin Team\0"
169 VALUE "FileDescription", "\0"
170 VALUE "FileVersion", "5.00.2919.6304\0"
171 VALUE "InternalName", "Odin32 - SHELL32\0"
172 VALUE "LegalCopyright", "Copyright (C) 2000\0"
173 VALUE "LegalTrademarks", "\0"
174 VALUE "OriginalFilename", "\0"
175 VALUE "ProductName", "Odin32 - SHELL32\0"
176 VALUE "ProductVersion", "5.00.2919.6304\0"
177 END
178 END
179 BLOCK "VarFileInfo"
180 BEGIN
181 VALUE "Translation", 0x409, 0x04E4
182 END
183END
184
185/* These are the first 45 icons from shell32.dll */
186/* See ico/readme.txt for copyright info */
187#include "shellicon.h"
188
189SHLICON_FILE ICON LOADONCALL DISCARDABLE "ico/file.ico"
190SHLICON_TEXTFILE ICON LOADONCALL DISCARDABLE "ico/textfile.ico"
191SHLICON_APPLICATION ICON LOADONCALL DISCARDABLE "ico/application.ico"
192SHLICON_FOLDER_CLOSED ICON LOADONCALL DISCARDABLE "ico/folder-c.ico"
193SHLICON_FOLDER_OPEN ICON LOADONCALL DISCARDABLE "ico/folder-o.ico"
194SHLICON_FLOPPY525 ICON LOADONCALL DISCARDABLE "ico/floppy5.ico"
195SHLICON_FLOPPY35 ICON LOADONCALL DISCARDABLE "ico/floppy3.ico"
196SHLICON_REMOVABLE_DISK ICON LOADONCALL DISCARDABLE "ico/removable.ico"
197SHLICON_HARDDISK ICON LOADONCALL DISCARDABLE "ico/harddrive.ico"
198SHLICON_NETDRIVE_CONN ICON LOADONCALL DISCARDABLE "ico/netdrive-c.ico"
199SHLICON_NETDRIVE_DISCON ICON LOADONCALL DISCARDABLE "ico/netdrive-d.ico"
200SHLICON_CDROM_DRIVE ICON LOADONCALL DISCARDABLE "ico/cdromdrive.ico"
201SHLICON_RAMDRIVE ICON LOADONCALL DISCARDABLE "ico/ramdrive.ico"
202SHLICON_ENTIRENETWORK ICON LOADONCALL DISCARDABLE "ico/entirenetwork.ico"
203SHLICON_NETWORK ICON LOADONCALL DISCARDABLE "ico/network.ico"
204SHLICON_NETWORK_COMP ICON LOADONCALL DISCARDABLE "ico/networkcomputer.ico"
205SHLICON_PRINTER ICON LOADONCALL DISCARDABLE "ico/printer.ico"
206SHLICON_NETWORK_PLACE ICON LOADONCALL DISCARDABLE "ico/networkplaces.ico"
207SHLICON_NETWORK_GROUP ICON LOADONCALL DISCARDABLE "ico/networkgroup.ico"
208SHLICON_PROGRAMS ICON LOADONCALL DISCARDABLE "ico/programs.ico"
209SHLICON_RECENTDOCS ICON LOADONCALL DISCARDABLE "ico/recentdocs.ico"
210SHLICON_SETTINGS ICON LOADONCALL DISCARDABLE "ico/settings.ico"
211SHLICON_SEARCH ICON LOADONCALL DISCARDABLE "ico/search.ico"
212SHLICON_HELP ICON LOADONCALL DISCARDABLE "ico/help.ico"
213SHLICON_RUN ICON LOADONCALL DISCARDABLE "ico/run.ico"
214SHLICON_SUSPEND ICON LOADONCALL DISCARDABLE "ico/suspend.ico"
215SHLICON_UNDOCK ICON LOADONCALL DISCARDABLE "ico/undock.ico"
216SHLICON_SHUTDOWN ICON LOADONCALL DISCARDABLE "ico/shutdown.ico"
217SHLICON_SHAREDRES ICON LOADONCALL DISCARDABLE "ico/sharedres.ico"
218SHLICON_SHORTCUT ICON LOADONCALL DISCARDABLE "ico/shortcut.ico"
219SHLICON_ARROW ICON LOADONCALL DISCARDABLE "ico/arrow.ico"
220SHLICON_TRASHCAN ICON LOADONCALL DISCARDABLE "ico/trash-e.ico"
221SHLICON_TRASHCAN_FULL ICON LOADONCALL DISCARDABLE "ico/trash-f.ico"
222SHLICON_DIALUP_FOLDER ICON LOADONCALL DISCARDABLE "ico/dialup.ico"
223SHLICON_DESKTOP ICON LOADONCALL DISCARDABLE "ico/desktop.ico"
224SHLICON_CONTROLPANEL ICON LOADONCALL DISCARDABLE "ico/controlpanel.ico"
225SHLICON_PROGRAMGROUP ICON LOADONCALL DISCARDABLE "ico/programgroup.ico"
226SHLICON_PRINTER_FOLDER ICON LOADONCALL DISCARDABLE "ico/printers.ico"
227SHLICON_FONT_FOLDER ICON LOADONCALL DISCARDABLE "ico/fonts.ico"
228SHLICON_LOGO ICON LOADONCALL DISCARDABLE "ico/logo.ico"
229SHLICON_AUDIO_CD ICON LOADONCALL DISCARDABLE "ico/audiocd.ico"
230SHLICON_TREE ICON LOADONCALL DISCARDABLE "ico/tree.ico"
231SHLICON_COMPUTERS ICON LOADONCALL DISCARDABLE "ico/computers.ico"
232SHLICON_FAVORITES ICON LOADONCALL DISCARDABLE "ico/favorites.ico"
233SHLICON_LOGOFF ICON LOADONCALL DISCARDABLE "ico/logoff.ico"
234
235/* Here are still missing lots of icons from shell32! */
236
237/* This one is originally in explorer.exe, index 1 */
238SHLICON_MYCOMPUTER ICON LOADONCALL DISCARDABLE "ico/mycomputer.ico"
239
240/*--------------------- END FIXME ------------------------*/
241
242/*
243 * Everything that does not depend on language,
244 * like textless bitmaps etc, go into the
245 * neutral language. This will prevent them from
246 * being duplicated for each language.
247 */
248#include "shell32_xx.orc"
249
250/*
251 * Everything specific to any language goes
252 * in one of the specific files.
253 * Note that you can and may override resources
254 * which also have a neutral version. This is to
255 * get localized bitmaps for example.
256 */
257#include "shell32_En.orc"
258
259/*
260 CB: the new about dialog isn't implemented for these languages
261 other resources aren't translated so far
262 -> don't use these resources for now
263
264 do you want to translate them? just do it.
265*/
266
267//#include "shell32_Ca.orc"
268//#include "shell32_Cs.orc"
269//#include "shell32_Da.orc"
270//#include "shell32_De.orc"
271//#include "shell32_Eo.orc"
272//#include "shell32_Es.orc"
273//#include "shell32_Fi.orc"
274//#include "shell32_Fr.orc"
275//#include "shell32_Hu.orc"
276//#include "shell32_It.orc"
277//#include "shell32_Ko.orc"
278//#include "shell32_Nl.orc"
279//#include "shell32_No.orc"
280//#include "shell32_Pl.orc"
281//#include "shell32_Pt.orc"
282//#include "shell32_Ru.orc"
283//#include "shell32_Sv.orc"
284//#include "shell32_Wa.orc"
Note: See TracBrowser for help on using the repository browser.