QuickImage.rc
上传用户:gzboli
上传日期:2013-04-10
资源大小:471k
文件大小:31k
源码类别:

图片显示

开发平台:

Visual C++

  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. // Chinese (P.R.C.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  17. #pragma code_page(936)
  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""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 4, 2rn"
  43.     "#pragma code_page(936)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\QuickImage.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""l.chs\afxres.rc""          // Standard componentsrn"
  47.     "#include ""l.chs\afxprint.rc""        // printing/print preview resourcesrn"
  48.     "#endifrn"
  49.     ""
  50. END
  51. #endif    // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Icon
  55. //
  56. // Icon with lowest ID value placed first to ensure application icon
  57. // remains consistent on all systems.
  58. IDI_CANCELAC            ICON    DISCARDABLE     "res\Cancelac.ico"
  59. IDI_CANCELUN            ICON    DISCARDABLE     "res\Cancelun.ico"
  60. IDI_OKAC                ICON    DISCARDABLE     "res\Okac.ico"
  61. IDI_OKUN                ICON    DISCARDABLE     "res\Okun.ico"
  62. /////////////////////////////////////////////////////////////////////////////
  63. //
  64. // Bitmap
  65. //
  66. IDR_TB_MAP              BITMAP  DISCARDABLE     "res\tb_map.bmp"
  67. IDB_BKGROUND            BITMAP  DISCARDABLE     "res\BkGround.bmp"
  68. /////////////////////////////////////////////////////////////////////////////
  69. //
  70. // Toolbar
  71. //
  72. IDR_TB_MAP TOOLBAR DISCARDABLE  16, 15
  73. BEGIN
  74.     BUTTON      ID_MAP_PAN
  75.     BUTTON      ID_MAP_ZOOMOUT
  76.     BUTTON      ID_MAP_ZOOMIN
  77.     BUTTON      ID_MAP_ZOOMWINDOW
  78.     BUTTON      ID_MAP_VIEWPREVIOUS
  79.     SEPARATOR
  80.     BUTTON      ID_MAP_ACTUAL
  81.     BUTTON      ID_MAP_FIT
  82.     SEPARATOR
  83.     BUTTON      ID_MAP_SCISSOR
  84.     SEPARATOR
  85.     BUTTON      ID_IMAGE_HISTOGRAM
  86. END
  87. /////////////////////////////////////////////////////////////////////////////
  88. //
  89. // Menu
  90. //
  91. CG_IDR_POPUP_FILE_VIEW MENU DISCARDABLE 
  92. BEGIN
  93.     POPUP "_POPUP_"
  94.     BEGIN
  95.         MENUITEM "Cu&t",                        ID_EDIT_CUT
  96.         MENUITEM "&Copy",                       ID_EDIT_COPY
  97.         MENUITEM "&Paste",                      ID_EDIT_PASTE
  98.         MENUITEM SEPARATOR
  99.         MENUITEM "R&name",                      ID_FILE_RENAME
  100.     END
  101. END
  102. CG_IDR_POPUP_DIBVIEW MENU DISCARDABLE 
  103. BEGIN
  104.     POPUP "_POPUP_"
  105.     BEGIN
  106.         MENUITEM "Cu&t",                        ID_EDIT_CUT
  107.         MENUITEM "&Copy",                       ID_EDIT_COPY
  108.         MENUITEM "&Paste",                      ID_EDIT_PASTE
  109.     END
  110. END
  111. IDR_IMAGE MENU DISCARDABLE 
  112. BEGIN
  113.     POPUP "I&mage"
  114.     BEGIN
  115.         MENUITEM "&Histogram...",               ID_IMAGE_HISTOGRAM
  116.         MENUITEM "&Auto levels",                ID_IMAGE_HISTOGRAM_EQUAL
  117.         MENUITEM "&Median filter",              ID_IMAGE_MEDIANFILTER
  118.         MENUITEM SEPARATOR
  119.         POPUP "Blur"
  120.         BEGIN
  121.             MENUITEM "Approach &1",                 ID_IMAGE_SMOTH_LF1
  122.             MENUITEM "Approach &2",                 ID_IMAGE_SMOTH_LF2
  123.             MENUITEM "Approach &3",                 ID_IMAGE_SMOTH_LF3
  124.         END
  125.         POPUP "Sharpen"
  126.         BEGIN
  127.             MENUITEM "Approach &1",                 ID_IMAGE_SHARP_HF1
  128.             MENUITEM "Approach &2",                 ID_IMAGE_SHARP_HF2
  129.             MENUITEM "Approach &3",                 ID_IMAGE_SHARP_HF3
  130.         END
  131.         MENUITEM SEPARATOR
  132.         POPUP "Sharpen edge"
  133.         BEGIN
  134.             MENUITEM "&Vertical",                   ID_IMAGE_EDGE_V
  135.             MENUITEM "&Horizontal",                 ID_IMAGE_EDGE_H
  136.             MENUITEM "Vertical && Horizontal",      ID_IMAGE_EDGE_VH
  137.             MENUITEM SEPARATOR
  138.             MENUITEM "North(&1)",                   ID_IMAGE_EDGE_N
  139.             MENUITEM "Northeast(2)",                ID_IMAGE_EDGE_NE
  140.             MENUITEM "East(&3)",                    ID_IMAGE_EDGE_E
  141.             MENUITEM "Southeast(&4)",               ID_IMAGE_EDGE_SE
  142.             MENUITEM "South(&5)",                   ID_IMAGE_EDGE_S
  143.             MENUITEM "Southwest(&6)",               ID_IMAGE_EDGE_SW
  144.             MENUITEM "West(&7)",                    ID_IMAGE_EDGE_W
  145.             MENUITEM "Northwest(&8)",               ID_IMAGE_EDGE_NW
  146.             MENUITEM SEPARATOR
  147.             MENUITEM "&Laplace1",                   ID_IMAGE_EDGE_LP1
  148.             MENUITEM "L&aplace2",                   ID_IMAGE_EDGE_LP2
  149.             MENUITEM "La&place3",                   ID_IMAGE_EDGE_LP3
  150.             MENUITEM "Lapla&ce4",                   ID_IMAGE_EDGE_LP4
  151.         END
  152.         POPUP "Sketch"
  153.         BEGIN
  154.             MENUITEM "H&orizontal",                 ID_IMAGE_CONTOUR_H
  155.             MENUITEM "&Vertical",                   ID_IMAGE_CONTOUR_V
  156.             MENUITEM "S&obel",                      ID_IMAGE_CONTOUR_SOBER
  157.             MENUITEM "&Hough",                      ID_IMAGE_CONTOUR_HOUGH
  158.         END
  159.         MENUITEM SEPARATOR
  160.         MENUITEM "&Reverse",                    ID_IMAGE_REVERSE
  161.         MENUITEM SEPARATOR
  162.         MENUITEM "&FFT",                        ID_IMAGE_FFT
  163.         MENUITEM "D&CT",                        ID_IMAGE_DCT
  164.         MENUITEM "&WALH",                       ID_IMAGE_WALH
  165.         MENUITEM SEPARATOR
  166.         POPUP "Erode"
  167.         BEGIN
  168.             MENUITEM "&Horizontal",                 ID_IMAGE_EROSION_H
  169.             MENUITEM "&Vertical",                   ID_IMAGE_EROSION_V
  170.         END
  171.         POPUP "Dilate"
  172.         BEGIN
  173.             MENUITEM "&Horizontal",                 ID_IMAGE_DILATION_H
  174.             MENUITEM "&Vertical",                   ID_IMAGE_DILATION_V
  175.         END
  176.         POPUP "Open"
  177.         BEGIN
  178.             MENUITEM "&Horizontal",                 ID_IMAGE_OPEN_H
  179.             MENUITEM "&Vertical",                   ID_IMAGE_OPEN_V
  180.         END
  181.         POPUP "Close"
  182.         BEGIN
  183.             MENUITEM "&Horizontal",                 ID_IMAGE_CLOSE_H
  184.             MENUITEM "&Vertical",                   ID_IMAGE_CLOSE_V
  185.         END
  186.         MENUITEM "&Thin",                       ID_IMAGE_THIN
  187.     END
  188. END
  189. /////////////////////////////////////////////////////////////////////////////
  190. //
  191. // Accelerator
  192. //
  193. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  194. BEGIN
  195.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  196.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  197.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  198.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  199.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  200.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  201.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  202.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  203.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  204.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  205.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  206.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  207.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  208.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  209. END
  210. /////////////////////////////////////////////////////////////////////////////
  211. //
  212. // Dialog
  213. //
  214. IDD_HISTOGRAM DIALOGEX 0, 0, 160, 113
  215. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  216. EXSTYLE WS_EX_TOOLWINDOW
  217. CAPTION "Histogram"
  218. FONT 10, "System", 0, 0, 0x1
  219. BEGIN
  220.     GROUPBOX        "",IDC_STATIC,7,50,146,56,BS_FLAT
  221.     LTEXT           "&Channel:",IDC_STATIC,72,59,28,8
  222.     COMBOBOX        IDC_COMBO_CHANNEL,102,57,50,51,CBS_DROPDOWNLIST | 
  223.                     WS_VSCROLL | WS_TABSTOP
  224.     LTEXT           "Static",IDC_HISTOGRAM_PIXELS,9,59,61,8
  225.     LTEXT           "Static",IDC_HISTOGRAM_MEAN,9,71,61,8
  226.     LTEXT           "Static",IDC_HISTOGRAM_DEV,9,83,61,8
  227.     LTEXT           "Static",IDC_HISTOGRAM_SHANG,9,95,61,8
  228.     LTEXT           "Static",IDC_HISTOGRAM_LEVEL,72,71,77,8
  229.     LTEXT           "Static",IDC_HISTOGRAM_COUNT,72,83,77,8
  230.     LTEXT           "Static",IDC_HISTOGRAM_PERCENT,72,95,47,8
  231.     DEFPUSHBUTTON   "OK",IDOK,121,93,31,12,0,WS_EX_STATICEDGE
  232. END
  233. IDD_SCISSOR DIALOGEX 0, 0, 187, 161
  234. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  235. CAPTION "Image scissor"
  236. FONT 10, "System", 0, 0, 0x1
  237. BEGIN
  238.     EDITTEXT        IDC_EDIT_TL_X,49,105,45,12,ES_AUTOHSCROLL
  239.     EDITTEXT        IDC_EDIT_TL_Y,95,105,45,12,ES_AUTOHSCROLL
  240.     EDITTEXT        IDC_EDIT_BR_X,49,120,45,12,ES_AUTOHSCROLL
  241.     EDITTEXT        IDC_EDIT_BR_Y,95,120,45,12,ES_AUTOHSCROLL
  242.     EDITTEXT        IDC_EDIT_ZOOM,7,142,17,12,ES_AUTOHSCROLL | NOT WS_BORDER,
  243.                     WS_EX_CLIENTEDGE
  244.     DEFPUSHBUTTON   "OK",IDOK,69,140,50,14
  245.     PUSHBUTTON      "Cancel",IDCANCEL,130,140,50,14
  246.     GROUPBOX        "",IDC_STATIC,7,96,173,41
  247.     LTEXT           "Topleft:",IDC_STATIC,8,106,25,8
  248.     LTEXT           "Bottomright:",IDC_STATIC,8,121,41,8
  249.     CONTROL         "",IDC_PIC_SMALL,"Static",SS_BLACKFRAME,141,100,39,36
  250.     CONTROL         "",IDC_PIC_LARGE,"Static",SS_BLACKFRAME,7,7,173,92
  251. END
  252. IDD_GUESSWIDTH DIALOGEX 0, 0, 187, 190
  253. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
  254. EXSTYLE WS_EX_CLIENTEDGE
  255. CAPTION "影像大小"
  256. FONT 10, "System", 0, 0, 0x1
  257. BEGIN
  258.     EDITTEXT        IDC_EDIT_WIDTH,34,47,81,14,ES_AUTOHSCROLL
  259.     EDITTEXT        IDC_EDIT_HEIGHT,34,65,81,14,ES_AUTOHSCROLL
  260.     CONTROL         "8 Bits",IDC_8BITS,"Button",BS_AUTORADIOBUTTON | 
  261.                     WS_GROUP | WS_TABSTOP,15,100,35,10
  262.     CONTROL         "16 Bits",IDC_16BITS,"Button",BS_AUTORADIOBUTTON | 
  263.                     WS_TABSTOP,15,114,35,10
  264.     CONTROL         "24 Bits",IDC_24BITS,"Button",BS_AUTORADIOBUTTON,15,128,
  265.                     35,10
  266.     CONTROL         "32 Bits",IDC_32BITS,"Button",BS_AUTORADIOBUTTON | 
  267.                     WS_TABSTOP,66,100,35,10
  268.     CONTROL         "64 Bits",IDC_64BITS,"Button",BS_AUTORADIOBUTTON,66,114,
  269.                     35,10
  270.     EDITTEXT        IDC_EDIT_HEADER_SIZE,34,161,81,14,ES_AUTOHSCROLL,
  271.                     WS_EX_TRANSPARENT
  272.     DEFPUSHBUTTON   "OK",IDOK,130,7,50,14
  273.     PUSHBUTTON      "&Swap",IDC_SWAP,130,47,50,14
  274.     PUSHBUTTON      "Cancel",IDCANCEL,130,27,50,14
  275.     PUSHBUTTON      "&Guess",IDC_GUESS,130,67,50,14
  276.     LTEXT           "Describe ""File"" :Bytes",IDC_FILE_DESCRIBE,7,9,120,21
  277.     LTEXT           "&Width:",IDC_STATIC,9,50,24,10
  278.     LTEXT           "&Height:",IDC_STATIC,9,67,24,10
  279.     LTEXT           "Si&ze:",IDC_STATIC,9,163,24,10
  280.     GROUPBOX        "Dimensions",IDC_STATIC,7,31,114,53
  281.     GROUPBOX        "Channels",IDC_STATIC,7,86,114,57
  282.     GROUPBOX        "Header",IDC_STATIC,7,145,114,35
  283. END
  284. IDD_ABOUTBOX DIALOGEX 0, 0, 206, 164
  285. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  286. EXSTYLE WS_EX_TOOLWINDOW
  287. FONT 8, "MS Sans Serif", 0, 0, 0x1
  288. BEGIN
  289.     CTEXT           "QuickImage application programnCopyright (C) 2002n上海市同济大学遥感应用研究中心",
  290.                     IDC_VERSION,40,34,123,28,SS_NOPREFIX
  291.     DEFPUSHBUTTON   "&Ok!",IDOK,138,139,60,18,WS_GROUP
  292.     LTEXT           "My E-Mail",IDC_EMAILLINK,39,139,89,8
  293.     LTEXT           "My Homepage",IDC_HOMEPAGELINK,39,150,89,8
  294.     ICON            IDR_MAINFRAME,IDC_STATIC,9,136,20,20
  295.     GROUPBOX        "Members of workgroup:",IDC_STATIC,7,65,191,69
  296.     LISTBOX         IDC_FRIENDS,12,74,180,55,NOT LBS_NOTIFY | LBS_SORT | 
  297.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL
  298. END
  299. IDD_DIRVIEW DIALOG DISCARDABLE  0, 0, 187, 99
  300. STYLE WS_CHILD
  301. FONT 10, "System"
  302. BEGIN
  303.     CONTROL         "Tree1",IDC_TREE1,"SysTreeView32",TVS_HASBUTTONS | 
  304.                     TVS_HASLINES | TVS_LINESATROOT | TVS_EDITLABELS | 
  305.                     TVS_SHOWSELALWAYS | TVS_TRACKSELECT | TVS_SINGLEEXPAND | 
  306.                     TVS_INFOTIP | WS_TABSTOP,34,17,88,61
  307. END
  308. IDD_RENAME DIALOG DISCARDABLE  0, 0, 187, 92
  309. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  310. CAPTION "Rename"
  311. FONT 10, "System"
  312. BEGIN
  313.     EDITTEXT        IDC_EDIT_TEMPLATE,67,36,113,13,ES_AUTOHSCROLL
  314.     EDITTEXT        IDC_EDIT_START,67,50,113,13,ES_AUTOHSCROLL
  315.     DEFPUSHBUTTON   "OK",IDOK,74,70,50,14
  316.     PUSHBUTTON      "Cancel",IDCANCEL,130,70,50,14
  317.     RTEXT           "Name Template:",IDC_STATIC,7,39,54,8
  318.     RTEXT           "Start:",IDC_STATIC,7,52,54,8
  319.     LTEXT           "This application do not support folder rename!",
  320.                     IDC_STATIC,16,14,149,9
  321. END
  322. IDD_CONVOLUTE DIALOGEX 0, 0, 187, 76
  323. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  324. CAPTION "卷积强度"
  325. FONT 8, "MS Sans Serif", 0, 0, 0x1
  326. BEGIN
  327.     DEFPUSHBUTTON   "OK",IDOK,30,55,50,14
  328.     PUSHBUTTON      "Cancel",IDCANCEL,108,55,50,14
  329.     CONTROL         "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_TOP | 
  330.                     TBS_NOTICKS | WS_TABSTOP,7,26,137,11
  331.     LTEXT           "",IDC_VALUE,153,25,27,12,0,WS_EX_STATICEDGE
  332.     LTEXT           "-",IDC_STATIC,14,15,10,9
  333.     LTEXT           "+",IDC_STATIC,138,15,10,9
  334. END
  335. #ifndef _MAC
  336. /////////////////////////////////////////////////////////////////////////////
  337. //
  338. // Version
  339. //
  340. VS_VERSION_INFO VERSIONINFO
  341.  FILEVERSION 1,0,0,1
  342.  PRODUCTVERSION 1,0,0,1
  343.  FILEFLAGSMASK 0x3fL
  344. #ifdef _DEBUG
  345.  FILEFLAGS 0x1L
  346. #else
  347.  FILEFLAGS 0x0L
  348. #endif
  349.  FILEOS 0x4L
  350.  FILETYPE 0x1L
  351.  FILESUBTYPE 0x0L
  352. BEGIN
  353.     BLOCK "StringFileInfo"
  354.     BEGIN
  355.         BLOCK "080404B0"
  356.         BEGIN
  357.             VALUE "CompanyName", ""
  358.             VALUE "FileDescription", "QuickImage Microsoft 基础类应用程序"
  359.             VALUE "FileVersion", "1, 0, 0, 1"
  360.             VALUE "InternalName", "QuickImage"
  361.             VALUE "LegalCopyright", "版权所有 (C) 2002"
  362.             VALUE "LegalTrademarks", ""
  363.             VALUE "OriginalFilename", "QuickImage.EXE"
  364.             VALUE "ProductName", "QuickImage 应用程序"
  365.             VALUE "ProductVersion", "1, 0, 0, 1"
  366.         END
  367.     END
  368.     BLOCK "VarFileInfo"
  369.     BEGIN
  370.         VALUE "Translation", 0x804, 1200
  371.     END
  372. END
  373. #endif    // !_MAC
  374. /////////////////////////////////////////////////////////////////////////////
  375. //
  376. // DESIGNINFO
  377. //
  378. #ifdef APSTUDIO_INVOKED
  379. GUIDELINES DESIGNINFO DISCARDABLE 
  380. BEGIN
  381.     IDD_HISTOGRAM, DIALOG
  382.     BEGIN
  383.         LEFTMARGIN, 7
  384.         RIGHTMARGIN, 153
  385.         TOPMARGIN, 7
  386.         BOTTOMMARGIN, 106
  387.     END
  388.     IDD_SCISSOR, DIALOG
  389.     BEGIN
  390.         LEFTMARGIN, 7
  391.         RIGHTMARGIN, 180
  392.         TOPMARGIN, 7
  393.         BOTTOMMARGIN, 154
  394.     END
  395.     IDD_GUESSWIDTH, DIALOG
  396.     BEGIN
  397.         LEFTMARGIN, 7
  398.         RIGHTMARGIN, 180
  399.         TOPMARGIN, 7
  400.         BOTTOMMARGIN, 183
  401.     END
  402.     IDD_ABOUTBOX, DIALOG
  403.     BEGIN
  404.         LEFTMARGIN, 7
  405.         TOPMARGIN, 7
  406.         BOTTOMMARGIN, 48
  407.     END
  408.     IDD_DIRVIEW, DIALOG
  409.     BEGIN
  410.         LEFTMARGIN, 7
  411.         RIGHTMARGIN, 180
  412.         TOPMARGIN, 7
  413.         BOTTOMMARGIN, 92
  414.     END
  415.     IDD_RENAME, DIALOG
  416.     BEGIN
  417.         LEFTMARGIN, 7
  418.         RIGHTMARGIN, 180
  419.         TOPMARGIN, 7
  420.         BOTTOMMARGIN, 85
  421.     END
  422.     IDD_CONVOLUTE, DIALOG
  423.     BEGIN
  424.         LEFTMARGIN, 7
  425.         RIGHTMARGIN, 180
  426.         TOPMARGIN, 7
  427.         BOTTOMMARGIN, 69
  428.     END
  429. END
  430. #endif    // APSTUDIO_INVOKED
  431. /////////////////////////////////////////////////////////////////////////////
  432. //
  433. // Cursor
  434. //
  435. IDC_SCISSOR             CURSOR  DISCARDABLE     "res\scissor.cur"
  436. IDC_GREEN               CURSOR  DISCARDABLE     "res\Green.cur"
  437. IDC_FINGERTIP           CURSOR  DISCARDABLE     "res\FINGERTIP.cur"
  438. #endif    // Chinese (P.R.C.) resources
  439. /////////////////////////////////////////////////////////////////////////////
  440. /////////////////////////////////////////////////////////////////////////////
  441. // English (U.S.) resources
  442. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  443. #ifdef _WIN32
  444. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  445. #pragma code_page(1252)
  446. #endif //_WIN32
  447. /////////////////////////////////////////////////////////////////////////////
  448. //
  449. // Icon
  450. //
  451. // Icon with lowest ID value placed first to ensure application icon
  452. // remains consistent on all systems.
  453. IDR_MAINFRAME           ICON    DISCARDABLE     "res\idr_main.ico"
  454. IDR_QUICKITYPE          ICON    DISCARDABLE     "res\idr_quic.ico"
  455. /////////////////////////////////////////////////////////////////////////////
  456. //
  457. // Bitmap
  458. //
  459. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\mainfram.bmp"
  460. /////////////////////////////////////////////////////////////////////////////
  461. //
  462. // Toolbar
  463. //
  464. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  465. BEGIN
  466.     BUTTON      ID_FILE_OPEN
  467.     BUTTON      ID_FILE_SAVE
  468.     SEPARATOR
  469.     BUTTON      ID_EDIT_CUT
  470.     BUTTON      ID_EDIT_COPY
  471.     BUTTON      ID_EDIT_PASTE
  472.     BUTTON      ID_EDIT_UNDO
  473.     SEPARATOR
  474.     BUTTON      ID_FILE_PRINT
  475.     SEPARATOR
  476.     BUTTON      ID_DIR_UP
  477.     BUTTON      ID_DIR_HOME
  478.     BUTTON      ID_DIR_PREV
  479.     BUTTON      ID_DIR_NEXT
  480.     BUTTON      ID_DIR_END
  481.     SEPARATOR
  482.     BUTTON      ID_MAP_PAN
  483.     BUTTON      ID_MAP_ZOOMOUT
  484.     BUTTON      ID_MAP_ZOOMIN
  485.     BUTTON      ID_MAP_ZOOMWINDOW
  486.     BUTTON      ID_MAP_VIEWPREVIOUS
  487.     SEPARATOR
  488.     BUTTON      ID_MAP_ACTUAL
  489.     BUTTON      ID_MAP_FIT
  490.     SEPARATOR
  491.     BUTTON      ID_MAP_SCISSOR
  492.     SEPARATOR
  493.     BUTTON      ID_IMAGE_HISTOGRAM
  494.     SEPARATOR
  495.     BUTTON      ID_APP_ABOUT
  496. END
  497. /////////////////////////////////////////////////////////////////////////////
  498. //
  499. // Menu
  500. //
  501. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  502. BEGIN
  503.     POPUP "&File"
  504.     BEGIN
  505.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  506.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  507.         MENUITEM SEPARATOR
  508.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  509.         MENUITEM SEPARATOR
  510.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  511.         MENUITEM SEPARATOR
  512.         MENUITEM "E&xit",                       ID_APP_EXIT
  513.     END
  514.     POPUP "&View"
  515.     BEGIN
  516.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  517.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  518.     END
  519.     POPUP "&Help"
  520.     BEGIN
  521.         MENUITEM "&About QuickImage...",        ID_APP_ABOUT
  522.     END
  523. END
  524. IDR_QUICKITYPE MENU PRELOAD DISCARDABLE 
  525. BEGIN
  526.     POPUP "&File"
  527.     BEGIN
  528.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  529.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  530.         MENUITEM "&Close",                      ID_FILE_CLOSE
  531.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  532.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  533.         MENUITEM SEPARATOR
  534.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  535.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  536.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  537.         MENUITEM SEPARATOR
  538.         MENUITEM "R&name",                      ID_FILE_RENAME
  539.         MENUITEM SEPARATOR
  540.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  541.         MENUITEM SEPARATOR
  542.         MENUITEM "E&xit",                       ID_APP_EXIT
  543.     END
  544.     POPUP "&Edit"
  545.     BEGIN
  546.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  547.         MENUITEM SEPARATOR
  548.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  549.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  550.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  551.     END
  552.     POPUP "I&mage"
  553.     BEGIN
  554.         MENUITEM "&Histogram...",               ID_IMAGE_HISTOGRAM
  555.         MENUITEM "&Auto levels",                ID_IMAGE_HISTOGRAM_EQUAL
  556.         MENUITEM "&Median filter",              ID_IMAGE_MEDIANFILTER
  557.         MENUITEM SEPARATOR
  558.         POPUP "Blur"
  559.         BEGIN
  560.             MENUITEM "Approach &1",                 ID_IMAGE_SMOTH_LF1
  561.             MENUITEM "Approach &2",                 ID_IMAGE_SMOTH_LF2
  562.             MENUITEM "Approach &3",                 ID_IMAGE_SMOTH_LF3
  563.         END
  564.         POPUP "Sharpen"
  565.         BEGIN
  566.             MENUITEM "Approach &1",                 ID_IMAGE_SHARP_HF1
  567.             MENUITEM "Approach &2",                 ID_IMAGE_SHARP_HF2
  568.             MENUITEM "Approach &3",                 ID_IMAGE_SHARP_HF3
  569.         END
  570.         MENUITEM SEPARATOR
  571.         POPUP "Sharpen edge"
  572.         BEGIN
  573.             MENUITEM "&Vertical",                   ID_IMAGE_EDGE_V
  574.             MENUITEM "&Horizontal",                 ID_IMAGE_EDGE_H
  575.             MENUITEM "Vertical && Horizontal",      ID_IMAGE_EDGE_VH
  576.             MENUITEM SEPARATOR
  577.             MENUITEM "North(&1)",                   ID_IMAGE_EDGE_N
  578.             MENUITEM "Northeast(2)",                ID_IMAGE_EDGE_NE
  579.             MENUITEM "East(&3)",                    ID_IMAGE_EDGE_E
  580.             MENUITEM "Southeast(&4)",               ID_IMAGE_EDGE_SE
  581.             MENUITEM "South(&5)",                   ID_IMAGE_EDGE_S
  582.             MENUITEM "Southwest(&6)",               ID_IMAGE_EDGE_SW
  583.             MENUITEM "West(&7)",                    ID_IMAGE_EDGE_W
  584.             MENUITEM "Northwest(&8)",               ID_IMAGE_EDGE_NW
  585.             MENUITEM SEPARATOR
  586.             MENUITEM "&Laplace1",                   ID_IMAGE_EDGE_LP1
  587.             MENUITEM "L&aplace2",                   ID_IMAGE_EDGE_LP2
  588.             MENUITEM "La&place3",                   ID_IMAGE_EDGE_LP3
  589.             MENUITEM "Lapla&ce4",                   ID_IMAGE_EDGE_LP4
  590.         END
  591.         POPUP "Sketch"
  592.         BEGIN
  593.             MENUITEM "H&orizontal",                 ID_IMAGE_CONTOUR_H
  594.             MENUITEM "&Vertical",                   ID_IMAGE_CONTOUR_V
  595.             MENUITEM "S&obel",                      ID_IMAGE_CONTOUR_SOBER
  596.             MENUITEM "&Hough",                      ID_IMAGE_CONTOUR_HOUGH
  597.         END
  598.         MENUITEM SEPARATOR
  599.         MENUITEM "&Reverse",                    ID_IMAGE_REVERSE
  600.         MENUITEM SEPARATOR
  601.         MENUITEM "&FFT",                        ID_IMAGE_FFT
  602.         MENUITEM "D&CT",                        ID_IMAGE_DCT
  603.         MENUITEM "&WALH",                       ID_IMAGE_WALH
  604.         MENUITEM SEPARATOR
  605.         POPUP "Erode"
  606.         BEGIN
  607.             MENUITEM "&Horizontal",                 ID_IMAGE_EROSION_H
  608.             MENUITEM "&Vertical",                   ID_IMAGE_EROSION_V
  609.         END
  610.         POPUP "Dilate"
  611.         BEGIN
  612.             MENUITEM "&Horizontal",                 ID_IMAGE_DILATION_H
  613.             MENUITEM "&Vertical",                   ID_IMAGE_DILATION_V
  614.         END
  615.         POPUP "Open"
  616.         BEGIN
  617.             MENUITEM "&Horizontal",                 ID_IMAGE_OPEN_H
  618.             MENUITEM "&Vertical",                   ID_IMAGE_OPEN_V
  619.         END
  620.         POPUP "Close"
  621.         BEGIN
  622.             MENUITEM "&Horizontal",                 ID_IMAGE_CLOSE_H
  623.             MENUITEM "&Vertical",                   ID_IMAGE_CLOSE_V
  624.         END
  625.         MENUITEM "&Thin",                       ID_IMAGE_THIN
  626.     END
  627.     POPUP "&View"
  628.     BEGIN
  629.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  630.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  631.     END
  632.     POPUP "&Window"
  633.     BEGIN
  634.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  635.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  636.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  637.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  638.     END
  639.     POPUP "&Help"
  640.     BEGIN
  641.         MENUITEM "&About QuickImage...",        ID_APP_ABOUT
  642.     END
  643. END
  644. /////////////////////////////////////////////////////////////////////////////
  645. //
  646. // Cursor
  647. //
  648. IDC_HANDD               CURSOR  DISCARDABLE     "res\HANDD.cur"
  649. IDC_HANDU               CURSOR  DISCARDABLE     "res\HANDU.cur"
  650. IDC_ZOOMIN              CURSOR  DISCARDABLE     "res\ZOOMIN.cur"
  651. IDC_ZOOMOUT             CURSOR  DISCARDABLE     "res\ZOOMOUT.cur"
  652. IDC_ZOOMWINDOW          CURSOR  DISCARDABLE     "res\zoomwindow.cur"
  653. /////////////////////////////////////////////////////////////////////////////
  654. //
  655. // String Table
  656. //
  657. STRINGTABLE PRELOAD DISCARDABLE 
  658. BEGIN
  659.     IDR_MAINFRAME           "QuickImage"
  660.     IDR_QUICKITYPE          "nQuickImagenQuickImagennnQuickImage.DocumentnQuickImage Document"
  661. END
  662. STRINGTABLE PRELOAD DISCARDABLE 
  663. BEGIN
  664.     AFX_IDS_APP_TITLE       "QuickImage"
  665.     AFX_IDS_IDLEMESSAGE     "Ready"
  666. END
  667. STRINGTABLE DISCARDABLE 
  668. BEGIN
  669.     ID_INDICATOR_EXT        "EXT"
  670.     ID_INDICATOR_CAPS       "CAP"
  671.     ID_INDICATOR_NUM        "NUM"
  672.     ID_INDICATOR_SCRL       "SCRL"
  673.     ID_INDICATOR_OVR        "OVR"
  674.     ID_INDICATOR_REC        "REC"
  675. END
  676. STRINGTABLE DISCARDABLE 
  677. BEGIN
  678.     ID_FILE_NEW             "Create a new documentnNew"
  679.     ID_FILE_OPEN            "Open an existing documentnOpen"
  680.     ID_FILE_CLOSE           "Close the active documentnClose"
  681.     ID_FILE_SAVE            "Save the active documentnSave"
  682.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  683.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  684.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  685.     ID_FILE_PRINT           "Print the active documentnPrint"
  686.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  687. END
  688. STRINGTABLE DISCARDABLE 
  689. BEGIN
  690.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  691.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  692. END
  693. STRINGTABLE DISCARDABLE 
  694. BEGIN
  695.     ID_FILE_MRU_FILE1       "Open this document"
  696.     ID_FILE_MRU_FILE2       "Open this document"
  697.     ID_FILE_MRU_FILE3       "Open this document"
  698.     ID_FILE_MRU_FILE4       "Open this document"
  699.     ID_FILE_MRU_FILE5       "Open this document"
  700.     ID_FILE_MRU_FILE6       "Open this document"
  701.     ID_FILE_MRU_FILE7       "Open this document"
  702.     ID_FILE_MRU_FILE8       "Open this document"
  703.     ID_FILE_MRU_FILE9       "Open this document"
  704.     ID_FILE_MRU_FILE10      "Open this document"
  705.     ID_FILE_MRU_FILE11      "Open this document"
  706.     ID_FILE_MRU_FILE12      "Open this document"
  707.     ID_FILE_MRU_FILE13      "Open this document"
  708.     ID_FILE_MRU_FILE14      "Open this document"
  709.     ID_FILE_MRU_FILE15      "Open this document"
  710.     ID_FILE_MRU_FILE16      "Open this document"
  711. END
  712. STRINGTABLE DISCARDABLE 
  713. BEGIN
  714.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  715.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  716. END
  717. STRINGTABLE DISCARDABLE 
  718. BEGIN
  719.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  720.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  721.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  722.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  723.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  724.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  725. END
  726. STRINGTABLE DISCARDABLE 
  727. BEGIN
  728.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  729.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  730.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  731.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  732.     ID_EDIT_FIND            "Find the specified textnFind"
  733.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  734.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  735.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  736.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  737.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  738.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  739. END
  740. STRINGTABLE DISCARDABLE 
  741. BEGIN
  742.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  743.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  744. END
  745. STRINGTABLE DISCARDABLE 
  746. BEGIN
  747.     AFX_IDS_SCSIZE          "Change the window size"
  748.     AFX_IDS_SCMOVE          "Change the window position"
  749.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  750.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  751.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  752.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  753.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  754. END
  755. STRINGTABLE DISCARDABLE 
  756. BEGIN
  757.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  758.     AFX_IDS_SCTASKLIST      "Activate Task List"
  759.     AFX_IDS_MDICHILD        "Activate this window"
  760. END
  761. STRINGTABLE DISCARDABLE 
  762. BEGIN
  763.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  764.     IDS_DIB_TOO_BIG         "Image is too big!"
  765.     IDS_CANNOT_LOAD_DIB     "Can not load image!"
  766. END
  767. STRINGTABLE DISCARDABLE 
  768. BEGIN
  769.     ID_MAP_PAN              "PannPan"
  770.     ID_MAP_ZOOMOUT          "Zoom outnZoom out"
  771.     ID_MAP_ZOOMIN           "Zoom innZoom in"
  772.     ID_MAP_ZOOMWINDOW       "Zoom WindownZoom Window"
  773.     ID_MAP_VIEWPREVIOUS     "Zoom to previous viewnZoom previous"
  774.     ID_MAP_ACTUAL           "View Actual sizenActual"
  775.     ID_MAP_FIT              "Fit in viewnFit"
  776.     ID_MAP_SCISSOR          "Scissor imagenScissor"
  777. END
  778. STRINGTABLE DISCARDABLE 
  779. BEGIN
  780.     ID_IMAGE_HISTOGRAM      "HistogramnHistogram"
  781. END
  782. STRINGTABLE DISCARDABLE 
  783. BEGIN
  784.     ID_FILE_RENAME          "Rename file(s)nRename"
  785.     ID_FILE_RENAME2         "Rename file(s)nRename"
  786.     ID_DIR_UP               "UpnUP"
  787.     ID_DIR_HOME             "View the firstnFirst"
  788.     ID_DIR_PREV             "View previousnPrevious"
  789.     ID_DIR_NEXT             "View nextnNext"
  790.     ID_DIR_END              "View the lastnLast"
  791. END
  792. #endif    // English (U.S.) resources
  793. /////////////////////////////////////////////////////////////////////////////
  794. #ifndef APSTUDIO_INVOKED
  795. /////////////////////////////////////////////////////////////////////////////
  796. //
  797. // Generated from the TEXTINCLUDE 3 resource.
  798. //
  799. #define _AFX_NO_SPLITTER_RESOURCES
  800. #define _AFX_NO_OLE_RESOURCES
  801. #define _AFX_NO_TRACKER_RESOURCES
  802. #define _AFX_NO_PROPERTY_RESOURCES
  803. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  804. #ifdef _WIN32
  805. LANGUAGE 4, 2
  806. #pragma code_page(936)
  807. #endif //_WIN32
  808. #include "resQuickImage.rc2"  // non-Microsoft Visual C++ edited resources
  809. #include "l.chsafxres.rc"          // Standard components
  810. #include "l.chsafxprint.rc"        // printing/print preview resources
  811. #endif
  812. /////////////////////////////////////////////////////////////////////////////
  813. #endif    // not APSTUDIO_INVOKED