source: trunk/EraserDll/Eraser.rc @ 11

Revision 11, 13.3 KB checked in by lowjoel, 7 years ago (diff)

Move all the resources to the root Res directory

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Rev
Line 
1// Microsoft Visual C++ generated resource script.
2//
3#include "resource.h"
4
5#define APSTUDIO_READONLY_SYMBOLS
6/////////////////////////////////////////////////////////////////////////////
7//
8// Generated from the TEXTINCLUDE 2 resource.
9//
10#include "afxres.h"
11
12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS
14
15/////////////////////////////////////////////////////////////////////////////
16// Russian resources
17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
19#ifdef _WIN32
20LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
21#pragma code_page(1251)
22#endif //_WIN32
23
24/////////////////////////////////////////////////////////////////////////////
25//
26// DESIGNINFO
27//
28
29#ifdef APSTUDIO_INVOKED
30GUIDELINES DESIGNINFO
31BEGIN
32    IDD_DIALOG_SEC_MAN, DIALOG
33    BEGIN
34        LEFTMARGIN, 7
35        RIGHTMARGIN, 208
36        TOPMARGIN, 4
37        BOTTOMMARGIN, 86
38    END
39END
40#endif    // APSTUDIO_INVOKED
41
42
43/////////////////////////////////////////////////////////////////////////////
44//
45// Dialog
46//
47
48IDD_DIALOG_SEC_MAN DIALOGEX 0, 0, 215, 93
49STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
50    WS_SYSMENU
51CAPTION "Security checking"
52FONT 8, "MS Shell Dlg", 400, 0, 0x1
53BEGIN
54    EDITTEXT        IDC_EDIT_SECMAN_PASSWD,75,21,123,14,ES_PASSWORD |
55                    ES_AUTOHSCROLL
56    EDITTEXT        IDC_EDIT_SECMAN_PASSWDCONFIRM,75,43,124,14,ES_PASSWORD |
57                    ES_AUTOHSCROLL | NOT WS_VISIBLE
58    DEFPUSHBUTTON   "OK",IDOK,90,69,50,14
59    PUSHBUTTON      "Cancel",IDCANCEL,148,69,50,14
60    RTEXT           "&Password",IDC_STATIC,26,22,43,8
61    RTEXT           "Confirm password",IDC_STATIC_CONFIRM,11,47,58,8,NOT
62                    WS_VISIBLE
63    GROUPBOX        "",IDC_STATIC,7,4,201,82
64END
65
66#endif    // Russian resources
67/////////////////////////////////////////////////////////////////////////////
68
69
70/////////////////////////////////////////////////////////////////////////////
71// English (U.S.) resources
72
73#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
74#ifdef _WIN32
75LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
76#pragma code_page(1252)
77#endif //_WIN32
78
79/////////////////////////////////////////////////////////////////////////////
80//
81// DESIGNINFO
82//
83
84#ifdef APSTUDIO_INVOKED
85GUIDELINES DESIGNINFO
86BEGIN
87    IDD_PAGE_FILES, DIALOG
88    BEGIN
89        LEFTMARGIN, 7
90        RIGHTMARGIN, 296
91        TOPMARGIN, 7
92        BOTTOMMARGIN, 167
93    END
94
95    IDD_PAGE_FREESPACE, DIALOG
96    BEGIN
97        LEFTMARGIN, 7
98        RIGHTMARGIN, 296
99        TOPMARGIN, 7
100        BOTTOMMARGIN, 166
101    END
102
103    IDD_DIALOG_METHODEDIT, DIALOG
104    BEGIN
105        LEFTMARGIN, 7
106        RIGHTMARGIN, 282
107        TOPMARGIN, 7
108        BOTTOMMARGIN, 235
109    END
110
111    IDD_DIALOG_PASSEDIT, DIALOG
112    BEGIN
113        LEFTMARGIN, 7
114        RIGHTMARGIN, 181
115        TOPMARGIN, 7
116        BOTTOMMARGIN, 105
117    END
118
119    IDD_DIALOG_REPORT, DIALOG
120    BEGIN
121        LEFTMARGIN, 7
122        RIGHTMARGIN, 246
123        TOPMARGIN, 7
124        BOTTOMMARGIN, 235
125    END
126END
127#endif    // APSTUDIO_INVOKED
128
129
130/////////////////////////////////////////////////////////////////////////////
131//
132// Dialog
133//
134
135IDD_PAGE_FILES DIALOGEX 0, 0, 303, 175
136STYLE DS_SETFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
137CAPTION "Files"
138FONT 8, "MS Sans Serif", 0, 0, 0x1
139BEGIN
140    CONTROL         "List1",IDC_LIST_METHOD,"SysListView32",LVS_REPORT |
141                    LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER |
142                    WS_TABSTOP,14,20,239,80,WS_EX_STATICEDGE
143    PUSHBUTTON      "&New",IDC_BUTTON_NEW,260,20,37,14
144    PUSHBUTTON      "&Edit",IDC_BUTTON_EDIT,260,37,37,14
145    PUSHBUTTON      "&Delete",IDC_BUTTON_DELETE,260,54,37,14
146    LTEXT           "",IDC_STATIC_SELECTED,14,106,282,8,SS_NOPREFIX
147    LTEXT           "Erase with",IDC_STATIC,7,7,240,8
148    CONTROL         "Cluster Tip Area",IDC_CHECK_FILECLUSTERTIPS,"Button",
149                    BS_AUTOCHECKBOX | WS_TABSTOP,14,136,279,10
150    LTEXT           "Overwrite",IDC_STATIC,7,123,286,8
151    CONTROL         "File Names (File Names will always be cleared on NT/XP and above)",
152                    IDC_CHECK_FILENAMES,"Button",BS_AUTOCHECKBOX |
153                    WS_TABSTOP,14,146,279,10
154    CONTROL         "Alternate Data Streams",IDC_CHECK_ALTERNATESTREAMS,
155                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,156,279,10
156END
157
158IDD_PAGE_FREESPACE DIALOGEX 0, 0, 303, 175
159STYLE DS_SETFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
160CAPTION "Unused Disk Space"
161FONT 8, "MS Sans Serif", 0, 0, 0x1
162BEGIN
163    CONTROL         "List1",IDC_LIST_METHOD,"SysListView32",LVS_REPORT |
164                    LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER |
165                    WS_TABSTOP,14,20,239,80,WS_EX_STATICEDGE
166    PUSHBUTTON      "&New",IDC_BUTTON_NEW,260,20,37,14
167    PUSHBUTTON      "&Edit",IDC_BUTTON_EDIT,260,37,37,14
168    PUSHBUTTON      "&Delete",IDC_BUTTON_DELETE,260,54,37,14
169    CONTROL         "Free Disk Space",IDC_CHECK_FREESPACE,"Button",
170                    BS_AUTOCHECKBOX | WS_TABSTOP,14,136,279,10
171    CONTROL         "Cluster Tip Area",IDC_CHECK_CLUSTERTIPS,"Button",
172                    BS_AUTOCHECKBOX | WS_TABSTOP,14,146,279,10
173    CONTROL         "Directory Entries",IDC_CHECK_DIRECTORYENTRIES,"Button",
174                    BS_AUTOCHECKBOX | WS_TABSTOP,14,156,279,10
175    LTEXT           "",IDC_STATIC_SELECTED,14,106,279,8,SS_NOPREFIX
176    LTEXT           "Erase with",IDC_STATIC,7,7,240,8
177    LTEXT           "Overwrite",IDC_STATIC,7,123,286,8
178END
179
180IDD_DIALOG_METHODEDIT DIALOGEX 0, 0, 289, 242
181STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP |
182    WS_CAPTION | WS_SYSMENU
183CAPTION "Custom Method Editor"
184FONT 8, "MS Sans Serif", 0, 0, 0x1
185BEGIN
186    EDITTEXT        IDC_EDIT_DESCRIPTION,14,17,268,14,ES_AUTOHSCROLL
187    CONTROL         "List1",IDC_LIST_PASSES,"SysListView32",LVS_REPORT |
188                    LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER |
189                    WS_TABSTOP,14,53,218,83,WS_EX_STATICEDGE
190    PUSHBUTTON      "&Add",IDC_BUTTON_ADD,237,53,45,14
191    PUSHBUTTON      "&Delete",IDC_BUTTON_DELETE,237,70,45,14
192    PUSHBUTTON      "&Copy",IDC_BUTTON_COPY,237,87,45,14
193    PUSHBUTTON      "Move &Up",IDC_BUTTON_UP,237,104,45,14
194    PUSHBUTTON      "Move Do&wn",IDC_BUTTON_DOWN,237,121,45,14
195    EDITTEXT        IDC_EDIT_BYTE1,26,164,40,14,ES_AUTOHSCROLL
196    CONTROL         "Byte &2",IDC_CHECK_BYTE2,"Button",BS_AUTOCHECKBOX |
197                    WS_TABSTOP,76,153,39,10
198    EDITTEXT        IDC_EDIT_BYTE2,76,164,40,14,ES_AUTOHSCROLL
199    CONTROL         "Byte &3",IDC_CHECK_BYTE3,"Button",BS_AUTOCHECKBOX |
200                    WS_TABSTOP,126,153,39,10
201    EDITTEXT        IDC_EDIT_BYTE3,126,164,40,14,ES_AUTOHSCROLL
202    CONTROL         "Pseudo&random Data",IDC_RADIO_PSEUDORANDOM,"Button",
203                    BS_AUTORADIOBUTTON,14,183,268,10
204    CONTROL         "&Perform Passes In Random &Order",IDC_CHECK_SHUFFLE,
205                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,210,268,10
206    DEFPUSHBUTTON   "&Save",IDOK,177,222,50,14
207    PUSHBUTTON      "&D&iscard",IDCANCEL,232,222,50,14
208    LTEXT           "Description",IDC_STATIC,7,7,275,8
209    LTEXT           "Overwriting Passes",IDC_STATIC,7,43,275,8
210    CONTROL         "&Pattern",IDC_RADIO_PATTERN,"Button",BS_AUTORADIOBUTTON,
211                    14,142,268,10
212    CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,14,205,268,1
213    LTEXT           "Byte 1",IDC_STATIC_BYTE1,26,153,38,8
214END
215
216IDD_DIALOG_PASSEDIT DIALOG  0, 0, 188, 112
217STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP |
218    WS_CAPTION | WS_SYSMENU
219CAPTION "Passes"
220FONT 8, "MS Sans Serif"
221BEGIN
222    DEFPUSHBUTTON   "OK",IDOK,77,91,50,14
223    PUSHBUTTON      "Cancel",IDCANCEL,131,91,50,14
224    LTEXT           "The number of times data should be overwritten before deleting.",
225                    IDC_STATIC,7,7,174,21
226    EDITTEXT        IDC_EDIT_PASSES,68,51,46,14,ES_AUTOHSCROLL | ES_NUMBER
227    CONTROL         "Spin1",IDC_SPIN_PASSES,"msctls_updown32",
228                    UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
229                    UDS_ARROWKEYS | UDS_NOTHOUSANDS,113,51,7,14
230    LTEXT           "Passes:",IDC_STATIC,68,42,26,8
231END
232
233IDD_DIALOG_REPORT DIALOG  0, 0, 253, 242
234STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE |
235    WS_CAPTION | WS_SYSMENU
236CAPTION "Erasing Report"
237FONT 8, "MS Sans Serif"
238BEGIN
239    DEFPUSHBUTTON   "&Close",IDCANCEL,196,221,50,14
240    PUSHBUTTON      "&Save As...",IDC_BUTTON_SAVEAS,140,221,50,14
241    EDITTEXT        IDC_EDIT_STATISTICS,7,42,239,80,ES_MULTILINE |
242                    ES_READONLY | WS_VSCROLL | WS_HSCROLL
243    CONTROL         "List1",IDC_LIST_ERRORS,"SysListView32",LVS_REPORT |
244                    LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,7,144,239,69
245    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,22,239,1
246    LTEXT           "Task completed.",IDC_STATIC_COMPLETION,7,7,239,14
247    LTEXT           "Information:",IDC_STATIC,7,30,38,8
248    LTEXT           "Failures:",IDC_STATIC_FAILURES_HEADER,7,132,239,8
249END
250
251
252/////////////////////////////////////////////////////////////////////////////
253//
254// Icon
255//
256
257// Icon with lowest ID value placed first to ensure application icon
258// remains consistent on all systems.
259IDR_MAINFRAME           ICON                    "..\\res\\Eraser.ico"
260
261/////////////////////////////////////////////////////////////////////////////
262//
263// String Table
264//
265
266STRINGTABLE
267BEGIN
268    IDS_PROPSHT_CAPTION     "Preferences: Erasing"
269    IDS_PASSWDNOTMATCH      "Password does not match"
270END
271
272STRINGTABLE
273BEGIN
274    IDS_ERROR_CLUSTER       "Failed to determine cluster size from drive %1. Cluster tip area will not be erased."
275    IDS_ERROR_MEMORY        "Failed to allocate data buffer (out of memory). Try closing other applications or restarting Windows."
276    IDS_ERROR_INTERNAL      "Internal error, something way unexpected just happened."
277    IDS_ERROR_DIRECTORY     "Failed to create temporary directory to drive %1, maybe one exists already. Try again."
278    IDS_ERROR_FREESPACE     "Failed to determine free space available on drive %1. Free disk space (or at least some of it) could not be erased."
279    IDS_ERROR_DIRENTRIES    "Failed to erase file names from drive %1, don't know why exactly."
280    IDS_ERROR_DIRENTRIES_FS "Failed to erase file names from drive %1, this file system type is not supported."
281    IDS_ERROR_DIRENTRIES_FAT
282                            "Failed to clean directory entries from drive %1, there was something not quite right with the file system. You may want to run ScanDisk."
283    IDS_ERROR_DIRENTRIES_MAXRESTARTS
284                            "Failed to clean directory entries from drive %1, gave up after several attempts. You may want to try closing other applications and see if that helps."
285    IDS_ERROR_NODATA        "There was nothing to erase."
286    IDS_ERROR_DIRECTORY_REMOVE
287                            "Failed to remove a temporary directory from drive %1, you may want to remove it manually to recover (possibly) lost disk space."
288    IDS_ERROR_DIRENTRIES_LOCK
289                            "Failed to clean directory entry %1, could not prevent other programs from touching it."
290    IDS_ERROR_TEMPFILE      "Failed to create a temporary file or directory. Erasing was not completed."
291    IDS_ERROR_ADS           "Failed to erase all (alternate) data streams from file %1, it had more than one."
292END
293
294STRINGTABLE
295BEGIN
296    IDS_METHOD_DELETE       "Are you sure you want to delete the selected method?"
297    IDS_METHOD_NOPASSES     "Method contains no overwriting passes. Do you want to discard the changes?"
298END
299
300STRINGTABLE
301BEGIN
302    AFX_IDS_APP_TITLE       "Eraser"
303END
304
305#endif    // English (U.S.) resources
306/////////////////////////////////////////////////////////////////////////////
307
308
309/////////////////////////////////////////////////////////////////////////////
310// Finnish resources
311
312#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FIN)
313#ifdef _WIN32
314LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
315#pragma code_page(1252)
316#endif //_WIN32
317
318#ifdef APSTUDIO_INVOKED
319/////////////////////////////////////////////////////////////////////////////
320//
321// TEXTINCLUDE
322//
323
3241 TEXTINCLUDE
325BEGIN
326    "resource.h\0"
327END
328
3292 TEXTINCLUDE
330BEGIN
331    "#include ""afxres.h""\r\n"
332    "\0"
333END
334
3353 TEXTINCLUDE
336BEGIN
337    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
338    "#define _AFX_NO_OLE_RESOURCES\r\n"
339    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
340    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
341    "\r\n"
342    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
343    "#ifdef _WIN32\r\n"
344    "LANGUAGE 9, 1\r\n"
345    "#pragma code_page(1252)\r\n"
346    "#endif\r\n"
347    "#include ""res\\Eraser.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
348    "#include ""afxres.rc""         // Standard components\r\n"
349    "#endif\0"
350END
351
352#endif    // APSTUDIO_INVOKED
353
354#endif    // Finnish resources
355/////////////////////////////////////////////////////////////////////////////
356
357
358
359#ifndef APSTUDIO_INVOKED
360/////////////////////////////////////////////////////////////////////////////
361//
362// Generated from the TEXTINCLUDE 3 resource.
363//
364#define _AFX_NO_SPLITTER_RESOURCES
365#define _AFX_NO_OLE_RESOURCES
366#define _AFX_NO_TRACKER_RESOURCES
367#define _AFX_NO_PROPERTY_RESOURCES
368
369#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
370#ifdef _WIN32
371LANGUAGE 9, 1
372#pragma code_page(1252)
373#endif
374#include "res\Eraser.rc2"  // non-Microsoft Visual C++ edited resources
375#include "afxres.rc"         // Standard components
376#endif
377/////////////////////////////////////////////////////////////////////////////
378#endif    // not APSTUDIO_INVOKED
379
Note: See TracBrowser for help on using the repository browser.