punzip.rc
上传用户:andy_li
上传日期:2007-01-06
资源大小:1019k
文件大小:13k
源码类别:

压缩解压

开发平台:

MultiPlatform

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h"""
  31. END
  32. 3 TEXTINCLUDE DISCARDABLE 
  33. BEGIN
  34.     "#include ""punzip.rcv""rn"
  35.     "#ifdef _WIN32_WCErn"
  36.     "IDI_UNZIP ICON DISCARDABLE ""punzip.ic2""rn"
  37.     "IDI_ZIPFILE ICON DISCARDABLE ""zipfile.ic2""rn"
  38.     "IDB_TOOLBAR BITMAP DISCARDABLE ""toolbar.2bp""rn"
  39.     "IDB_IMAGELIST BITMAP DISCARDABLE ""imglist.2bp""rn"
  40.     "IDB_IMAGELIST_MASK BITMAP DISCARDABLE ""ilmask.bmp""rn"
  41.     "#elsern"
  42.     "IDI_UNZIP ICON DISCARDABLE ""punzip.ico""rn"
  43.     "IDI_ZIPFILE ICON DISCARDABLE ""zipfile.ico""rn"
  44.     "IDB_TOOLBAR BITMAP DISCARDABLE ""toolbar.bmp""rn"
  45.     "IDB_IMAGELIST BITMAP DISCARDABLE ""imglist.bmp""rn"
  46.     "#endif"
  47. END
  48. #endif    // APSTUDIO_INVOKED
  49. /////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Menu
  52. //
  53. IDR_UNZIP MENU DISCARDABLE 
  54. BEGIN
  55.     POPUP "&File"
  56.     BEGIN
  57.         MENUITEM "&Open...tCtrl+O",            IDM_FILE_OPEN, GRAYED
  58.         MENUITEM SEPARATOR
  59.         MENUITEM "&PropertiestAlt+Enter",      IDM_FILE_PROPERTIES, GRAYED
  60.         MENUITEM SEPARATOR
  61.         MENUITEM SEPARATOR
  62.         MENUITEM "&Close",                      IDM_FILE_CLOSE, GRAYED
  63.     END
  64.     POPUP "&Actions"
  65.     BEGIN
  66.         MENUITEM "&Extract Selected FilestCtrl+E", IDM_ACTION_EXTRACT
  67.         , GRAYED
  68.         MENUITEM "E&xtract All Files",          IDM_ACTION_EXTRACT_ALL
  69.         , GRAYED
  70.         MENUITEM SEPARATOR
  71.         MENUITEM "&Test Selected FilestCtrl+T", IDM_ACTION_TEST, GRAYED
  72.         MENUITEM "Te&st All Files",             IDM_ACTION_TEST_ALL, GRAYED
  73.         MENUITEM SEPARATOR
  74.         MENUITEM "&View Selected FiletEnter",  IDM_ACTION_VIEW, GRAYED
  75.         MENUITEM SEPARATOR
  76.         MENUITEM "Select &AlltCtrl+A",         IDM_ACTION_SELECT_ALL
  77.         , GRAYED
  78.     END
  79.     POPUP "&View"
  80.     BEGIN
  81.         MENUITEM "&Expanded View",              IDM_VIEW_EXPANDED_VIEW
  82.         , GRAYED
  83.         MENUITEM SEPARATOR
  84.         MENUITEM "Zip File &Comment",           IDM_VIEW_COMMENT, GRAYED
  85.     END
  86.     POPUP "&Help"
  87.     BEGIN
  88.         MENUITEM "&About Pocket UnZip",         IDM_HELP_ABOUT, GRAYED
  89.     END
  90. END
  91. /////////////////////////////////////////////////////////////////////////////
  92. //
  93. // Dialog
  94. //
  95. IDD_REPLACE DIALOG DISCARDABLE  1, 1, 250, 60
  96. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  97. CAPTION "Confirm File Replace"
  98. FONT 8, "MS Sans Serif"
  99. BEGIN
  100.     LTEXT           "",IDC_FILE,6,6,237,18,NOT WS_GROUP
  101.     LTEXT           "Would you like to replace the existing file?",
  102.                     IDC_STATIC,6,26,237,10,NOT WS_GROUP
  103.     PUSHBUTTON      "&Yes",IDM_REPLACE_YES,6,40,54,14
  104.     PUSHBUTTON      "Yes to &All",IDM_REPLACE_ALL,67,40,54,14
  105.     PUSHBUTTON      "&No",IDM_REPLACE_NO,128,40,54,14
  106.     PUSHBUTTON      "N&o to All",IDM_REPLACE_NONE,189,40,54,14
  107. END
  108. IDD_COMMENT DIALOG DISCARDABLE  1, 1, 361, 196
  109. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  110. CAPTION "Zip File Comment"
  111. FONT 8, "MS Sans Serif"
  112. BEGIN
  113.     EDITTEXT        IDC_COMMENT,6,6,349,184,ES_MULTILINE | WS_VSCROLL | 
  114.                     WS_HSCROLL | NOT WS_TABSTOP
  115. END
  116. IDD_PROPERTIES DIALOG DISCARDABLE  0, 0, 251, 114
  117. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  118. CAPTION "Properties"
  119. FONT 8, "MS Sans Serif"
  120. BEGIN
  121.     EDITTEXT        IDC_COMMENT,6,18,238,90,ES_MULTILINE | NOT WS_VISIBLE | 
  122.                     WS_VSCROLL | WS_HSCROLL
  123.     LTEXT           "",IDC_FILE,11,22,229,8
  124.     LTEXT           "Size:",IDC_STATIC,11,34,70,8
  125.     LTEXT           "",IDC_FILE_SIZE,84,34,100,8
  126.     LTEXT           "Compressed Size:",IDC_STATIC,11,46,70,8
  127.     LTEXT           "",IDC_COMPRESSED_SIZE,84,46,100,8
  128.     LTEXT           "Compression Factor:",IDC_STATIC,11,58,70,8
  129.     LTEXT           "",IDC_COMPRESSON_FACTOR,84,58,100,8
  130.     LTEXT           "Compression Method:",IDC_STATIC,11,70,70,8
  131.     LTEXT           "",IDC_COMPRESSION_METHOD,84,70,100,8
  132.     LTEXT           "Modified:",IDC_STATIC,11,82,70,8
  133.     LTEXT           "",IDC_MODIFIED,84,82,100,8
  134.     LTEXT           "CRC:",IDC_STATIC,11,94,70,8
  135.     LTEXT           "",IDC_CRC,84,94,100,8
  136.     LTEXT           "Attributes:",IDC_STATIC,190,34,50,8
  137.     CONTROL         "Directory",IDC_DIRECTORY,"Button",BS_3STATE,190,44,50,
  138.                     10
  139.     CONTROL         "Read-only",IDC_READONLY,"Button",BS_3STATE,190,54,50,10
  140.     CONTROL         "Archive",IDC_ARCHIVE,"Button",BS_3STATE,190,64,50,10
  141.     CONTROL         "Hidden",IDC_HIDDEN,"Button",BS_3STATE,190,74,50,10
  142.     CONTROL         "System",IDC_SYSTEM,"Button",BS_3STATE,190,84,50,10
  143.     CONTROL         "Encrypted",IDC_ENCRYPTED,"Button",BS_3STATE,190,94,50,
  144.                     10
  145.     CONTROL         "Tab2",IDC_TAB,"SysTabControl32",WS_TABSTOP,4,4,242,106
  146. END
  147. IDD_EXTRACT DIALOG DISCARDABLE  0, 0, 297, 105
  148. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  149. CAPTION "Extract Files"
  150. FONT 8, "MS Sans Serif"
  151. BEGIN
  152.     DEFPUSHBUTTON   "&Extract",IDOK,246,6,45,14
  153.     PUSHBUTTON      "&Cancel",IDCANCEL,246,24,45,14
  154.     LTEXT           "Files to extract:",IDC_STATIC,12,18,54,8
  155.     RTEXT           "",IDC_FILE_COUNT,67,18,46,8
  156.     LTEXT           "Bytes to extract:",IDC_STATIC,12,30,54,8
  157.     RTEXT           "",IDC_BYTE_COUNT,67,30,46,8
  158.     GROUPBOX        "Statistics",IDC_STATIC,6,6,118,37
  159.     CONTROL         "&Restore file paths",IDC_RESTORE_PATHS,"Button",
  160.                     BS_AUTOCHECKBOX | WS_TABSTOP,8,47,118,10
  161.     LTEXT           "Extract &To:",IDC_STATIC,6,64,59,8
  162.     EDITTEXT        IDC_EXTRACT_TO,6,74,230,14,ES_AUTOHSCROLL
  163.     PUSHBUTTON      "&Browse...",IDC_BROWSE,246,74,45,14
  164.     LTEXT           "If encrypted files are encountered during extraction, you will be prompted for a password.",
  165.                     IDC_STATIC,6,91,285,8
  166.     CONTROL         "&Prompt to overwrite",IDC_OVERWRITE_PROMPT,"Button",
  167.                     BS_AUTORADIOBUTTON,138,18,80,10
  168.     CONTROL         "&Overwrite if newer",IDC_OVERWRITE_NEWER,"Button",
  169.                     BS_AUTORADIOBUTTON,138,30,80,10
  170.     CONTROL         "&Always overwrite",IDC_OVERWRITE_ALWAYS,"Button",
  171.                     BS_AUTORADIOBUTTON,138,42,80,10
  172.     CONTROL         "&Never overwrite",IDC_OVERWRITE_NEVER,"Button",
  173.                     BS_AUTORADIOBUTTON,138,54,80,10
  174.     GROUPBOX        "Overwrite Options",IDC_STATIC,132,6,104,61
  175. END
  176. IDD_PASSWORD DIALOG DISCARDABLE  1, 1, 250, 79
  177. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  178. CAPTION "Password Required for Encrypted File"
  179. FONT 8, "MS Sans Serif"
  180. BEGIN
  181.     LTEXT           "",IDC_FILE,6,6,237,18,NOT WS_GROUP
  182.     LTEXT           "",IDC_PROMPT,6,26,237,10,NOT WS_GROUP
  183.     EDITTEXT        IDC_PASSWORD,6,40,237,14,ES_PASSWORD | ES_AUTOHSCROLL
  184.     PUSHBUTTON      "Skip &All",IDC_SKIP_ALL,170,59,73,14
  185.     DEFPUSHBUTTON   "&Ok",IDOK,6,59,73,14
  186.     PUSHBUTTON      "&Skip",IDCANCEL,88,59,73,14
  187. END
  188. IDD_EXTRACT_PROGRESS DIALOG DISCARDABLE  0, 0, 400, 129
  189. STYLE DS_MODALFRAME | WS_POPUP
  190. FONT 8, "MS Sans Serif"
  191. BEGIN
  192.     PUSHBUTTON      "&Abort",IDCANCEL,6,110,112,14
  193.     LTEXT           "File Progress",IDC_FILE,6,5,389,8
  194.     CONTROL         "Progress1",IDC_FILE_PROGRESS,"msctls_progress32",
  195.                     WS_BORDER,6,15,112,10
  196.     LTEXT           "Total Progress",IDC_STATIC,6,28,61,8
  197.     RTEXT           "0%",IDC_PERCENTAGE,84,28,33,8
  198.     CONTROL         "Progress1",IDC_TOTAL_PROGRESS,"msctls_progress32",
  199.                     WS_BORDER,6,38,112,10
  200.     LTEXT           "Files processed:",IDC_STATIC,10,55,58,8
  201.     RTEXT           "0",IDC_FILES_PROCESSED,68,55,44,8
  202.     LTEXT           "Files total:",IDC_STATIC,10,66,58,8
  203.     RTEXT           "",IDC_FILES_TOTAL,68,66,44,8
  204.     LTEXT           "Bytes processed:",IDC_STATIC,10,83,58,8
  205.     RTEXT           "0",IDC_BYTES_PROCESSED,68,83,44,8
  206.     LTEXT           "Bytes total:",IDC_STATIC,10,94,58,8
  207.     RTEXT           "",IDC_BYTES_TOTAL,68,94,44,8
  208.     EDITTEXT        IDC_LOG,123,15,272,109,ES_MULTILINE | WS_VSCROLL | 
  209.                     WS_HSCROLL
  210.     GROUPBOX        "",IDC_STATIC,6,49,112,29
  211.     GROUPBOX        "",IDC_STATIC,6,77,112,29
  212. END
  213. IDD_ABOUT DIALOG DISCARDABLE  34, 22, 270, 113
  214. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  215. CAPTION "About Pocket UnZip"
  216. FONT 8, "MS Sans Serif"
  217. BEGIN
  218.     ICON            100,IDC_STATIC,9,8,20,20
  219.     LTEXT           "",IDC_PRODUCT,36,15,228,8
  220.     LTEXT           "",IDC_VERSION,36,29,228,8
  221.     LTEXT           "",IDC_DEVELOPER,36,39,228,8
  222.     LTEXT           "Visit my web site at http://pobox.com/~stevemil/",
  223.                     IDC_STATIC,36,49,228,8
  224.     LTEXT           "",IDC_COPYRIGHT,36,59,228,8
  225.     CTEXT           "Many thanks go to Greg Roelofs and all the fine folks at Info-ZIP.",
  226.                     IDC_STATIC,5,79,259,8
  227.     CTEXT           "",IDC_COMMENT,5,89,259,8
  228.     CTEXT           "Visit http://www.cdrom.com/pub/infozip for the latest news and binaries.",
  229.                     IDC_STATIC,5,99,259,8
  230.     GROUPBOX        "",IDC_STATIC,3,0,263,71,BS_LEFT
  231.     GROUPBOX        "",IDC_STATIC,3,71,263,40,BS_LEFT
  232. END
  233. IDD_VIEW_PROGRESS DIALOG DISCARDABLE  0, 0, 189, 57
  234. STYLE DS_MODALFRAME | WS_POPUP
  235. FONT 8, "MS Sans Serif"
  236. BEGIN
  237.     PUSHBUTTON      "&Abort",IDCANCEL,60,36,70,14
  238.     CTEXT           "Extracting temporary file for your viewing pleasure.",
  239.                     IDC_FILE,6,6,177,8
  240.     CONTROL         "Progress1",IDC_FILE_PROGRESS,"msctls_progress32",
  241.                     WS_BORDER,6,20,177,10
  242. END
  243. IDD_VIEW_ASSOCIATION DIALOG DISCARDABLE  0, 0, 297, 63
  244. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  245. CAPTION "Open With"
  246. FONT 8, "MS Sans Serif"
  247. BEGIN
  248.     LTEXT           "There does not appear to be any application associated with this file",
  249.                     IDC_STATIC,6,6,230,10
  250.     LTEXT           "type.  In order to view this file, you must specify a viewer application.",
  251.                     IDC_STATIC,6,15,230,10
  252.     LTEXT           "&Path to viewer application.",IDC_STATIC,6,32,230,8
  253.     EDITTEXT        IDC_PATH,6,42,230,14,ES_AUTOHSCROLL
  254.     PUSHBUTTON      "&Browse...",IDC_BROWSE,246,42,45,14
  255.     DEFPUSHBUTTON   "&OK",IDOK,246,6,45,14
  256.     PUSHBUTTON      "&Cancel",IDCANCEL,246,24,45,14
  257. END
  258. /////////////////////////////////////////////////////////////////////////////
  259. //
  260. // DESIGNINFO
  261. //
  262. #ifdef APSTUDIO_INVOKED
  263. GUIDELINES DESIGNINFO DISCARDABLE 
  264. BEGIN
  265.     IDD_REPLACE, DIALOG
  266.     BEGIN
  267.         LEFTMARGIN, 6
  268.         RIGHTMARGIN, 243
  269.         TOPMARGIN, 6
  270.         BOTTOMMARGIN, 54
  271.     END
  272.     IDD_COMMENT, DIALOG
  273.     BEGIN
  274.         LEFTMARGIN, 6
  275.         RIGHTMARGIN, 355
  276.         TOPMARGIN, 6
  277.         BOTTOMMARGIN, 190
  278.     END
  279.     IDD_PROPERTIES, DIALOG
  280.     BEGIN
  281.         LEFTMARGIN, 4
  282.         RIGHTMARGIN, 246
  283.         TOPMARGIN, 4
  284.         BOTTOMMARGIN, 110
  285.     END
  286.     IDD_EXTRACT, DIALOG
  287.     BEGIN
  288.         LEFTMARGIN, 6
  289.         RIGHTMARGIN, 291
  290.         TOPMARGIN, 6
  291.         BOTTOMMARGIN, 99
  292.     END
  293.     IDD_PASSWORD, DIALOG
  294.     BEGIN
  295.         LEFTMARGIN, 6
  296.         RIGHTMARGIN, 243
  297.         TOPMARGIN, 6
  298.         BOTTOMMARGIN, 73
  299.     END
  300.     IDD_EXTRACT_PROGRESS, DIALOG
  301.     BEGIN
  302.         LEFTMARGIN, 6
  303.         RIGHTMARGIN, 394
  304.         TOPMARGIN, 6
  305.         BOTTOMMARGIN, 123
  306.     END
  307.     IDD_ABOUT, DIALOG
  308.     BEGIN
  309.         RIGHTMARGIN, 265
  310.         TOPMARGIN, 1
  311.         BOTTOMMARGIN, 107
  312.     END
  313.     IDD_VIEW_PROGRESS, DIALOG
  314.     BEGIN
  315.         LEFTMARGIN, 6
  316.         RIGHTMARGIN, 183
  317.         TOPMARGIN, 6
  318.         BOTTOMMARGIN, 51
  319.     END
  320.     IDD_VIEW_ASSOCIATION, DIALOG
  321.     BEGIN
  322.         LEFTMARGIN, 6
  323.         RIGHTMARGIN, 291
  324.         TOPMARGIN, 6
  325.         BOTTOMMARGIN, 57
  326.     END
  327. END
  328. #endif    // APSTUDIO_INVOKED
  329. /////////////////////////////////////////////////////////////////////////////
  330. //
  331. // Accelerator
  332. //
  333. IDR_UNZIP ACCELERATORS DISCARDABLE 
  334. BEGIN
  335.     "A",            IDM_ACTION_SELECT_ALL,  VIRTKEY, CONTROL, NOINVERT
  336.     "E",            IDM_ACTION_EXTRACT,     VIRTKEY, CONTROL, NOINVERT
  337.     "O",            IDM_FILE_OPEN,          VIRTKEY, CONTROL, NOINVERT
  338.     "T",            IDM_ACTION_TEST,        VIRTKEY, CONTROL, NOINVERT
  339.     VK_RETURN,      IDM_ACTION_VIEW,        VIRTKEY, NOINVERT
  340.     VK_RETURN,      IDM_FILE_PROPERTIES,    VIRTKEY, ALT, NOINVERT
  341. END
  342. #endif    // English (U.S.) resources
  343. /////////////////////////////////////////////////////////////////////////////
  344. #ifndef APSTUDIO_INVOKED
  345. /////////////////////////////////////////////////////////////////////////////
  346. //
  347. // Generated from the TEXTINCLUDE 3 resource.
  348. //
  349. #include "punzip.rcv"
  350. #ifdef _WIN32_WCE
  351. IDI_UNZIP ICON DISCARDABLE "punzip.ic2"
  352. IDI_ZIPFILE ICON DISCARDABLE "zipfile.ic2"
  353. IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.2bp"
  354. IDB_IMAGELIST BITMAP DISCARDABLE "imglist.2bp"
  355. IDB_IMAGELIST_MASK BITMAP DISCARDABLE "ilmask.bmp"
  356. #else
  357. IDI_UNZIP ICON DISCARDABLE "punzip.ico"
  358. IDI_ZIPFILE ICON DISCARDABLE "zipfile.ico"
  359. IDB_TOOLBAR BITMAP DISCARDABLE "toolbar.bmp"
  360. IDB_IMAGELIST BITMAP DISCARDABLE "imglist.bmp"
  361. #endif
  362. /////////////////////////////////////////////////////////////////////////////
  363. #endif    // not APSTUDIO_INVOKED