source: trunk/Erasext/Erasext.rc @ 45

Revision 45, 7.9 KB checked in by lowjoel, 7 years ago (diff)

Don't hardcode MS Sans Serif. Let the system decide what dialog font to use.

  • 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// English (U.S.) resources
17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19#ifdef _WIN32
20LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21#pragma code_page(1252)
22#endif //_WIN32
23
24/////////////////////////////////////////////////////////////////////////////
25//
26// Dialog
27//
28
29IDD_DIALOG_REPLACE DIALOG  0, 0, 280, 141
30STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP |
31    WS_CAPTION | WS_SYSMENU
32CAPTION "Confirm File Replace"
33FONT 8, "MS Shell Dlg"
34BEGIN
35    DEFPUSHBUTTON   "&No",IDCANCEL,161,120,53,14
36    PUSHBUTTON      "N&o to All",IDC_BUTTON_NOTOALL,220,120,53,14
37    PUSHBUTTON      "&Yes",IDOK,45,120,53,14
38    PUSHBUTTON      "Yes to &All",IDC_BUTTON_YESTOALL,103,120,53,14
39    ICON            IDI_ICON_REPLACE,IDC_STATIC,10,10,20,20
40    LTEXT           "This folder already contains a file called '%s'.",
41                    IDC_STATIC_HEADER,41,10,222,22,SS_NOPREFIX
42    LTEXT           "Would you like to replace the existing file",IDC_STATIC,
43                    41,35,180,10
44    ICON            "",IDI_ICON_EXISTING,51,49,20,20
45    ICON            "",IDI_ICON_SOURCE,51,89,20,20
46    LTEXT           "with this one?",IDC_STATIC,41,75,180,10
47    LTEXT           "",IDC_STATIC_EXISTING,79,51,194,18,SS_NOPREFIX
48    LTEXT           "",IDC_STATIC_SOURCE,79,91,194,18,SS_NOPREFIX
49END
50
51IDD_DIALOG_CONFIRM DIALOG  0, 0, 273, 64
52STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP |
53    WS_CAPTION | WS_SYSMENU
54CAPTION "Confirm Erasing"
55FONT 8, "MS Shell Dlg"
56BEGIN
57    DEFPUSHBUTTON   "&No",IDCANCEL,213,43,53,14
58    PUSHBUTTON      "&Yes",IDOK,155,43,53,14
59    PUSHBUTTON      "&Options...",IDOPTIONS,7,43,50,14
60    ICON            IDI_ICON_ERASER,IDC_STATIC,7,7,21,20
61    LTEXT           "",IDC_STATIC_LINEONE,38,9,228,8,SS_NOPREFIX
62    LTEXT           "",IDC_STATIC_LINETWO,38,18,228,8,SS_NOPREFIX
63END
64
65IDD_DIALOG_WIPEPROG DIALOG  0, 0, 243, 133
66STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP |
67    WS_CLIPCHILDREN | WS_CAPTION
68CAPTION "Eraser"
69FONT 8, "MS Shell Dlg"
70BEGIN
71    DEFPUSHBUTTON   "&Stop",IDCANCEL,96,112,50,14
72    CONTROL         "Show results",IDC_CHECK_RESULTS,"Button",
73                    BS_AUTOCHECKBOX | WS_TABSTOP,7,116,53,10
74    CONTROL         "Progress1",IDC_PROGRESS,"msctls_progress32",0x1,7,58,
75                    201,12
76    LTEXT           "Erasing:",IDC_STATIC,7,7,37,8
77    LTEXT           "",IDC_STATIC_ERASING,48,7,188,8
78    LTEXT           "",IDC_STATIC_MESSAGE,48,16,188,8
79    LTEXT           "",IDC_STATIC_DATA,48,36,188,8,SS_NOPREFIX
80    LTEXT           "Item:",IDC_STATIC,7,36,37,8
81    LTEXT           "Pass:",IDC_STATIC,7,45,37,8
82    LTEXT           "",IDC_STATIC_PASS,48,45,54,8
83    LTEXT           "",IDC_STATIC_TIME,108,45,128,8
84    RTEXT           "",IDC_STATIC_PERCENT,211,58,25,8
85    CONTROL         "Progress1",IDC_PROGRESS_TOTAL,"msctls_progress32",0x1,7,
86                    94,201,9
87    RTEXT           "",IDC_STATIC_PERCENT_TOTAL,211,94,25,8
88    LTEXT           "Total:",IDC_STATIC,7,82,37,8
89    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,30,229,1
90    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,76,228,1
91END
92
93
94/////////////////////////////////////////////////////////////////////////////
95//
96// DESIGNINFO
97//
98
99#ifdef APSTUDIO_INVOKED
100GUIDELINES DESIGNINFO
101BEGIN
102    IDD_DIALOG_CONFIRM, DIALOG
103    BEGIN
104        LEFTMARGIN, 7
105        RIGHTMARGIN, 266
106        TOPMARGIN, 7
107        BOTTOMMARGIN, 57
108    END
109
110    IDD_DIALOG_WIPEPROG, DIALOG
111    BEGIN
112        LEFTMARGIN, 7
113        RIGHTMARGIN, 236
114        TOPMARGIN, 7
115        BOTTOMMARGIN, 126
116    END
117END
118#endif    // APSTUDIO_INVOKED
119
120
121/////////////////////////////////////////////////////////////////////////////
122//
123// Icon
124//
125
126// Icon with lowest ID value placed first to ensure application icon
127// remains consistent on all systems.
128IDI_ICON_ERASER         ICON                    "..\\res\\Eraser.ico"
129IDI_ICON_REPLACE        ICON                    "..\\res\\icon_rep.ico"
130
131/////////////////////////////////////////////////////////////////////////////
132//
133// Accelerator
134//
135
136IDR_ACCELERATOR_CONFIRM ACCELERATORS
137BEGIN
138    "N",            IDCANCEL,               VIRTKEY, NOINVERT
139    "O",            IDOPTIONS,              VIRTKEY, NOINVERT
140    "Y",            IDOK,                   VIRTKEY, NOINVERT
141END
142
143IDR_ACCELERATOR_PROG ACCELERATORS
144BEGIN
145    "S",            IDCANCEL,               VIRTKEY, NOINVERT
146END
147
148
149/////////////////////////////////////////////////////////////////////////////
150//
151// String Table
152//
153
154STRINGTABLE
155BEGIN
156    IDS_MENU_TEXT_FILE      "&Erase"
157    IDS_MENU_TEXT_DRIVE     "Erase Unused Space"
158    IDS_COMMAND_STRING_FILE "Erase file(s)"
159    IDS_COMMAND_STRING_DRIVE "Erase unused disk space"
160    IDS_CONFIRM_FILES       "these %d files?"
161    IDS_CONFIRM_DRIVE       "unused space on drive '%s'?"
162    IDS_COMMAND_STRING_DIRECTORIES "Erase file(s), folder(s) and subfolder(s)"
163    IDS_CONFIRM_FILES_AND_FOLDERS "these %d files and %d folders?"
164    IDS_CONFIRM             "Are you sure you want to erase "
165    IDS_MENU_TEXT_DRAG      "Eraser Secure &Move"
166    IDS_CONFIRM_MOVE        "Are you sure you want to move "
167    IDS_CONFIRM_MOVE_FILES  "these %d files to "
168    IDS_CONFIRM_MOVE_FILES_AND_FOLDERS "these %d files and %d folders to "
169END
170
171STRINGTABLE
172BEGIN
173    AFX_IDS_APP_TITLE       "Eraser"
174END
175
176STRINGTABLE
177BEGIN
178    IDS_CONFIRM_MULTI_DRIVE "unused space on the selected drives?"
179    IDS_CONFIRM_MOVE_FILE   "to"
180    IDS_MOVE_TITLE          "Confirm Secure Move"
181    IDS_ERROR_MOVE_SAMEFOLDER
182                            "Cannot move selected items. The destination folder is the same as the source folder."
183END
184
185#endif    // English (U.S.) resources
186/////////////////////////////////////////////////////////////////////////////
187
188
189/////////////////////////////////////////////////////////////////////////////
190// Finnish resources
191
192#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FIN)
193#ifdef _WIN32
194LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
195#pragma code_page(1252)
196#endif //_WIN32
197
198#ifdef APSTUDIO_INVOKED
199/////////////////////////////////////////////////////////////////////////////
200//
201// TEXTINCLUDE
202//
203
2041 TEXTINCLUDE
205BEGIN
206    "resource.h\0"
207END
208
2092 TEXTINCLUDE
210BEGIN
211    "#include ""afxres.h""\r\n"
212    "\0"
213END
214
2153 TEXTINCLUDE
216BEGIN
217    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
218    "#define _AFX_NO_OLE_RESOURCES\r\n"
219    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
220    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
221    "\r\n"
222    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
223    "#ifdef _WIN32\r\n"
224    "LANGUAGE 9, 1\r\n"
225    "#pragma code_page(1252)\r\n"
226    "#endif\r\n"
227    "#include ""res\\Erasext.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
228    "#include ""afxres.rc""         // Standard components\r\n"
229    "#endif\0"
230END
231
232#endif    // APSTUDIO_INVOKED
233
234#endif    // Finnish resources
235/////////////////////////////////////////////////////////////////////////////
236
237
238
239#ifndef APSTUDIO_INVOKED
240/////////////////////////////////////////////////////////////////////////////
241//
242// Generated from the TEXTINCLUDE 3 resource.
243//
244#define _AFX_NO_SPLITTER_RESOURCES
245#define _AFX_NO_OLE_RESOURCES
246#define _AFX_NO_TRACKER_RESOURCES
247#define _AFX_NO_PROPERTY_RESOURCES
248
249#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
250#ifdef _WIN32
251LANGUAGE 9, 1
252#pragma code_page(1252)
253#endif
254#include "res\Erasext.rc2"  // non-Microsoft Visual C++ edited resources
255#include "afxres.rc"         // Standard components
256#endif
257/////////////////////////////////////////////////////////////////////////////
258#endif    // not APSTUDIO_INVOKED
259
Note: See TracBrowser for help on using the repository browser.