File: punzip.rc

package info (click to toggle)
unzip 5.40-1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 4,120 kB
  • ctags: 5,900
  • sloc: ansic: 40,977; cpp: 3,778; makefile: 1,384; asm: 1,228; sh: 133
file content (404 lines) | stat: -rw-r--r-- 13,728 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""punzip.rcv""\r\n"
    "#ifdef _WIN32_WCE\r\n"
    "IDI_UNZIP ICON DISCARDABLE ""punzip.ic2""\r\n"
    "IDI_ZIPFILE ICON DISCARDABLE ""zipfile.ic2""\r\n"
    "IDB_TOOLBAR BITMAP DISCARDABLE ""toolbar.2bp""\r\n"
    "IDB_IMAGELIST BITMAP DISCARDABLE ""imglist.2bp""\r\n"
    "IDB_IMAGELIST_MASK BITMAP DISCARDABLE ""ilmask.bmp""\r\n"
    "#else\r\n"
    "IDI_UNZIP ICON DISCARDABLE ""punzip.ico""\r\n"
    "IDI_ZIPFILE ICON DISCARDABLE ""zipfile.ico""\r\n"
    "IDB_TOOLBAR BITMAP DISCARDABLE ""toolbar.bmp""\r\n"
    "IDB_IMAGELIST BITMAP DISCARDABLE ""imglist.bmp""\r\n"
    "#endif\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_UNZIP MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&Open...\tCtrl+O",            IDM_FILE_OPEN, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "&Properties\tAlt+Enter",      IDM_FILE_PROPERTIES, GRAYED
        MENUITEM SEPARATOR
        MENUITEM SEPARATOR
        MENUITEM "&Close",                      IDM_FILE_CLOSE, GRAYED
    END
    POPUP "&Actions"
    BEGIN
        MENUITEM "&Extract Selected Files\tCtrl+E", IDM_ACTION_EXTRACT
        , GRAYED
        MENUITEM "E&xtract All Files",          IDM_ACTION_EXTRACT_ALL
        , GRAYED
        MENUITEM SEPARATOR
        MENUITEM "&Test Selected Files\tCtrl+T", IDM_ACTION_TEST, GRAYED
        MENUITEM "Te&st All Files",             IDM_ACTION_TEST_ALL, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "&View Selected File\tEnter",  IDM_ACTION_VIEW, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "Select &All\tCtrl+A",         IDM_ACTION_SELECT_ALL
        , GRAYED
    END
    POPUP "&View"
    BEGIN
        MENUITEM "&Expanded View",              IDM_VIEW_EXPANDED_VIEW
        , GRAYED
        MENUITEM SEPARATOR
        MENUITEM "Zip File &Comment",           IDM_VIEW_COMMENT, GRAYED
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About Pocket UnZip",         IDM_HELP_ABOUT, GRAYED
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_REPLACE DIALOG DISCARDABLE  1, 1, 250, 60
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Confirm File Replace"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "",IDC_FILE,6,6,237,18,NOT WS_GROUP
    LTEXT           "Would you like to replace the existing file?",
                    IDC_STATIC,6,26,237,10,NOT WS_GROUP
    PUSHBUTTON      "&Yes",IDM_REPLACE_YES,6,40,54,14
    PUSHBUTTON      "Yes to &All",IDM_REPLACE_ALL,67,40,54,14
    PUSHBUTTON      "&No",IDM_REPLACE_NO,128,40,54,14
    PUSHBUTTON      "N&o to All",IDM_REPLACE_NONE,189,40,54,14
END

IDD_COMMENT DIALOG DISCARDABLE  1, 1, 361, 196
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Zip File Comment"
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_COMMENT,6,6,349,184,ES_MULTILINE | WS_VSCROLL | 
                    WS_HSCROLL | NOT WS_TABSTOP
END

IDD_PROPERTIES DIALOG DISCARDABLE  0, 0, 251, 114
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Properties"
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_COMMENT,6,18,238,90,ES_MULTILINE | NOT WS_VISIBLE | 
                    WS_VSCROLL | WS_HSCROLL
    LTEXT           "",IDC_FILE,11,22,229,8
    LTEXT           "Size:",IDC_STATIC,11,34,70,8
    LTEXT           "",IDC_FILE_SIZE,84,34,100,8
    LTEXT           "Compressed Size:",IDC_STATIC,11,46,70,8
    LTEXT           "",IDC_COMPRESSED_SIZE,84,46,100,8
    LTEXT           "Compression Factor:",IDC_STATIC,11,58,70,8
    LTEXT           "",IDC_COMPRESSON_FACTOR,84,58,100,8
    LTEXT           "Compression Method:",IDC_STATIC,11,70,70,8
    LTEXT           "",IDC_COMPRESSION_METHOD,84,70,100,8
    LTEXT           "Modified:",IDC_STATIC,11,82,70,8
    LTEXT           "",IDC_MODIFIED,84,82,100,8
    LTEXT           "CRC:",IDC_STATIC,11,94,70,8
    LTEXT           "",IDC_CRC,84,94,100,8
    LTEXT           "Attributes:",IDC_STATIC,190,34,50,8
    CONTROL         "Directory",IDC_DIRECTORY,"Button",BS_3STATE,190,44,50,
                    10
    CONTROL         "Read-only",IDC_READONLY,"Button",BS_3STATE,190,54,50,10
    CONTROL         "Archive",IDC_ARCHIVE,"Button",BS_3STATE,190,64,50,10
    CONTROL         "Hidden",IDC_HIDDEN,"Button",BS_3STATE,190,74,50,10
    CONTROL         "System",IDC_SYSTEM,"Button",BS_3STATE,190,84,50,10
    CONTROL         "Encrypted",IDC_ENCRYPTED,"Button",BS_3STATE,190,94,50,
                    10
    CONTROL         "Tab2",IDC_TAB,"SysTabControl32",WS_TABSTOP,4,4,242,106
END

IDD_EXTRACT DIALOG DISCARDABLE  0, 0, 297, 105
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Extract Files"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "&Extract",IDOK,246,6,45,14
    PUSHBUTTON      "&Cancel",IDCANCEL,246,24,45,14
    LTEXT           "Files to extract:",IDC_STATIC,12,18,54,8
    RTEXT           "",IDC_FILE_COUNT,67,18,46,8
    LTEXT           "Bytes to extract:",IDC_STATIC,12,30,54,8
    RTEXT           "",IDC_BYTE_COUNT,67,30,46,8
    GROUPBOX        "Statistics",IDC_STATIC,6,6,118,37
    CONTROL         "&Restore file paths",IDC_RESTORE_PATHS,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,8,47,118,10
    LTEXT           "Extract &To:",IDC_STATIC,6,64,59,8
    EDITTEXT        IDC_EXTRACT_TO,6,74,230,14,ES_AUTOHSCROLL
    PUSHBUTTON      "&Browse...",IDC_BROWSE,246,74,45,14
    LTEXT           "If encrypted files are encountered during extraction, you will be prompted for a password.",
                    IDC_STATIC,6,91,285,8
    CONTROL         "&Prompt to overwrite",IDC_OVERWRITE_PROMPT,"Button",
                    BS_AUTORADIOBUTTON,138,18,80,10
    CONTROL         "&Overwrite if newer",IDC_OVERWRITE_NEWER,"Button",
                    BS_AUTORADIOBUTTON,138,30,80,10
    CONTROL         "&Always overwrite",IDC_OVERWRITE_ALWAYS,"Button",
                    BS_AUTORADIOBUTTON,138,42,80,10
    CONTROL         "&Never overwrite",IDC_OVERWRITE_NEVER,"Button",
                    BS_AUTORADIOBUTTON,138,54,80,10
    GROUPBOX        "Overwrite Options",IDC_STATIC,132,6,104,61
END

IDD_PASSWORD DIALOG DISCARDABLE  1, 1, 250, 79
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Password Required for Encrypted File"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "",IDC_FILE,6,6,237,18,NOT WS_GROUP
    LTEXT           "",IDC_PROMPT,6,26,237,10,NOT WS_GROUP
    EDITTEXT        IDC_PASSWORD,6,40,237,14,ES_PASSWORD | ES_AUTOHSCROLL
    PUSHBUTTON      "Skip &All",IDC_SKIP_ALL,170,59,73,14
    DEFPUSHBUTTON   "&Ok",IDOK,6,59,73,14
    PUSHBUTTON      "&Skip",IDCANCEL,88,59,73,14
END

IDD_EXTRACT_PROGRESS DIALOG DISCARDABLE  0, 0, 400, 129
STYLE DS_MODALFRAME | WS_POPUP
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "&Abort",IDCANCEL,6,110,112,14
    LTEXT           "File Progress",IDC_FILE,6,5,389,8
    CONTROL         "Progress1",IDC_FILE_PROGRESS,"msctls_progress32",
                    WS_BORDER,6,15,112,10
    LTEXT           "Total Progress",IDC_STATIC,6,28,61,8
    RTEXT           "0%",IDC_PERCENTAGE,84,28,33,8
    CONTROL         "Progress1",IDC_TOTAL_PROGRESS,"msctls_progress32",
                    WS_BORDER,6,38,112,10
    LTEXT           "Files processed:",IDC_STATIC,10,55,58,8
    RTEXT           "0",IDC_FILES_PROCESSED,68,55,44,8
    LTEXT           "Files total:",IDC_STATIC,10,66,58,8
    RTEXT           "",IDC_FILES_TOTAL,68,66,44,8
    LTEXT           "Bytes processed:",IDC_STATIC,10,83,58,8
    RTEXT           "0",IDC_BYTES_PROCESSED,68,83,44,8
    LTEXT           "Bytes total:",IDC_STATIC,10,94,58,8
    RTEXT           "",IDC_BYTES_TOTAL,68,94,44,8
    EDITTEXT        IDC_LOG,123,15,272,109,ES_MULTILINE | WS_VSCROLL | 
                    WS_HSCROLL
    GROUPBOX        "",IDC_STATIC,6,49,112,29
    GROUPBOX        "",IDC_STATIC,6,77,112,29
END

IDD_ABOUT DIALOG DISCARDABLE  34, 22, 270, 113
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Pocket UnZip"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            100,IDC_STATIC,9,8,20,20
    LTEXT           "",IDC_PRODUCT,36,15,228,8
    LTEXT           "",IDC_VERSION,36,29,228,8
    LTEXT           "",IDC_DEVELOPER,36,39,228,8
    LTEXT           "Visit my web site at http://pobox.com/~stevemil/",
                    IDC_STATIC,36,49,228,8
    LTEXT           "",IDC_COPYRIGHT,36,59,228,8
    CTEXT           "Many thanks go to Greg Roelofs and all the fine folks at Info-ZIP.",
                    IDC_STATIC,5,79,259,8
    CTEXT           "",IDC_COMMENT,5,89,259,8
    CTEXT           "Visit http://www.cdrom.com/pub/infozip for the latest news and binaries.",
                    IDC_STATIC,5,99,259,8
    GROUPBOX        "",IDC_STATIC,3,0,263,71,BS_LEFT
    GROUPBOX        "",IDC_STATIC,3,71,263,40,BS_LEFT
END

IDD_VIEW_PROGRESS DIALOG DISCARDABLE  0, 0, 189, 57
STYLE DS_MODALFRAME | WS_POPUP
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "&Abort",IDCANCEL,60,36,70,14
    CTEXT           "Extracting temporary file for your viewing pleasure.",
                    IDC_FILE,6,6,177,8
    CONTROL         "Progress1",IDC_FILE_PROGRESS,"msctls_progress32",
                    WS_BORDER,6,20,177,10
END

IDD_VIEW_ASSOCIATION DIALOG DISCARDABLE  0, 0, 297, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Open With"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "There does not appear to be any application associated with this file",
                    IDC_STATIC,6,6,230,10
    LTEXT           "type.  In order to view this file, you must specify a viewer application.",
                    IDC_STATIC,6,15,230,10
    LTEXT           "&Path to viewer application.",IDC_STATIC,6,32,230,8
    EDITTEXT        IDC_PATH,6,42,230,14,ES_AUTOHSCROLL
    PUSHBUTTON      "&Browse...",IDC_BROWSE,246,42,45,14
    DEFPUSHBUTTON   "&OK",IDOK,246,6,45,14
    PUSHBUTTON      "&Cancel",IDCANCEL,246,24,45,14
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_REPLACE, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 243
        TOPMARGIN, 6
        BOTTOMMARGIN, 54
    END

    IDD_COMMENT, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 355
        TOPMARGIN, 6
        BOTTOMMARGIN, 190
    END

    IDD_PROPERTIES, DIALOG
    BEGIN
        LEFTMARGIN, 4
        RIGHTMARGIN, 246
        TOPMARGIN, 4
        BOTTOMMARGIN, 110
    END

    IDD_EXTRACT, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 291
        TOPMARGIN, 6
        BOTTOMMARGIN, 99
    END

    IDD_PASSWORD, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 243
        TOPMARGIN, 6
        BOTTOMMARGIN, 73
    END

    IDD_EXTRACT_PROGRESS, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 394
        TOPMARGIN, 6
        BOTTOMMARGIN, 123
    END

    IDD_ABOUT, DIALOG
    BEGIN
        RIGHTMARGIN, 265
        TOPMARGIN, 1
        BOTTOMMARGIN, 107
    END

    IDD_VIEW_PROGRESS, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 183
        TOPMARGIN, 6
        BOTTOMMARGIN, 51
    END

    IDD_VIEW_ASSOCIATION, DIALOG
    BEGIN
        LEFTMARGIN, 6
        RIGHTMARGIN, 291
        TOPMARGIN, 6
        BOTTOMMARGIN, 57
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDR_UNZIP ACCELERATORS DISCARDABLE 
BEGIN
    "A",            IDM_ACTION_SELECT_ALL,  VIRTKEY, CONTROL, NOINVERT
    "E",            IDM_ACTION_EXTRACT,     VIRTKEY, CONTROL, NOINVERT
    "O",            IDM_FILE_OPEN,          VIRTKEY, CONTROL, NOINVERT
    "T",            IDM_ACTION_TEST,        VIRTKEY, CONTROL, NOINVERT
    VK_RETURN,      IDM_ACTION_VIEW,        VIRTKEY, NOINVERT
    VK_RETURN,      IDM_FILE_PROPERTIES,    VIRTKEY, ALT, NOINVERT
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "punzip.rcv"
#ifdef _WIN32_WCE
IDI_UNZIP ICON DISCARDABLE "punzip.ic2"
IDI_ZIPFILE ICON DISCARDABLE "zipfile.ic2"
IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.2bp"
IDB_IMAGELIST BITMAP DISCARDABLE "imglist.2bp"
IDB_IMAGELIST_MASK BITMAP DISCARDABLE "ilmask.bmp"
#else
IDI_UNZIP ICON DISCARDABLE "punzip.ico"
IDI_ZIPFILE ICON DISCARDABLE "zipfile.ico"
IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
IDB_IMAGELIST BITMAP DISCARDABLE "imglist.bmp"
#endif
/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED