EastDraw.rc
上传用户:qiye66671
上传日期:2009-12-10
资源大小:182k
文件大小:31k
源码类别:

绘图程序

开发平台:

C/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\EastDraw.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.     "#include ""l.chs\afxdb.rc""           // Database resourcesrn"
  49.     "#endifrn"
  50.     ""
  51. END
  52. #endif    // APSTUDIO_INVOKED
  53. /////////////////////////////////////////////////////////////////////////////
  54. //
  55. // Icon
  56. //
  57. // Icon with lowest ID value placed first to ensure application icon
  58. // remains consistent on all systems.
  59. IDR_MAINFRAME           ICON    DISCARDABLE     "res\EastDraw.ico"
  60. IDR_EASTDRTYPE          ICON    DISCARDABLE     "res\EastDrawDoc.ico"
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Bitmap
  64. //
  65. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  66. IDR_TOOLBAR1_DrawTool   BITMAP  DISCARDABLE     "res\toolbar1.bmp"
  67. IDB_BITMAP_Black        BITMAP  DISCARDABLE     "res\bmp00004.bmp"
  68. IDB_BITMAP_White        BITMAP  DISCARDABLE     "res\bmp00005.bmp"
  69. IDB_BITMAP_Dark_Gray    BITMAP  DISCARDABLE     "res\bitmap_d.bmp"
  70. IDB_BITMAP_Light_Gray   BITMAP  DISCARDABLE     "res\bmp00006.bmp"
  71. IDB_BITMAP_Dark_Red     BITMAP  DISCARDABLE     "res\bmp00007.bmp"
  72. IDB_BITMAP_Red          BITMAP  DISCARDABLE     "res\bmp00008.bmp"
  73. IDB_BITMAP_DarkYellow   BITMAP  DISCARDABLE     "res\bmp00009.bmp"
  74. IDB_BITMAP_Yellow       BITMAP  DISCARDABLE     "res\bitmap2.bmp"
  75. IDB_BITMAP_DarkGreen    BITMAP  DISCARDABLE     "res\bitmap3.bmp"
  76. IDB_BITMAP_Green        BITMAP  DISCARDABLE     "res\bitmap4.bmp"
  77. IDB_BITMAP5             BITMAP  DISCARDABLE     "res\bitmap5.bmp"
  78. IDB_BITMAP6             BITMAP  DISCARDABLE     "res\bitmap6.bmp"
  79. IDB_BITMAP_DarkBlue     BITMAP  DISCARDABLE     "res\bitmap7.bmp"
  80. IDB_BITMAP_Blue         BITMAP  DISCARDABLE     "res\bitmap8.bmp"
  81. IDB_BITMAP9             BITMAP  DISCARDABLE     "res\bitmap9.bmp"
  82. IDB_BITMAP10            BITMAP  DISCARDABLE     "res\bitmap10.bmp"
  83. IDB_BITMAP1             BITMAP  DISCARDABLE     "res\bmp00010.bmp"
  84. IDB_BITMAP_Start        BITMAP  DISCARDABLE     "res\Start.bmp"
  85. /////////////////////////////////////////////////////////////////////////////
  86. //
  87. // Toolbar
  88. //
  89. IDR_MAINFRAME TOOLBAR DISCARDABLE  25, 24
  90. BEGIN
  91.     BUTTON      ID_FILE_NEW
  92.     BUTTON      ID_FILE_OPEN
  93.     BUTTON      ID_FILE_SAVE
  94.     BUTTON      ID_FILE_SAVE_AS_Bmp
  95.     BUTTON      ID_FILE_PRINT
  96.     SEPARATOR
  97.     BUTTON      ID_BUTTON32830_Lock
  98.     BUTTON      ID_MENUITEM32794_SetRegin
  99.     BUTTON      ID_BUTTON32850_ReDraw
  100.     BUTTON      ID_MouseCap_On
  101.     SEPARATOR
  102.     BUTTON      ID_ShowDrawTool_Bar
  103.     BUTTON      Menu_ShowPorDlg
  104.     BUTTON      ID_BUTTON32845_Axis
  105.     SEPARATOR
  106.     BUTTON      ID_BUTTON32858_OnDo
  107.     BUTTON      ID_BUTTON32859_ReDo
  108. END
  109. IDR_TOOLBAR1_DrawTool TOOLBAR DISCARDABLE  25, 24
  110. BEGIN
  111.     BUTTON      ID_BUTTON_DLine
  112.     BUTTON      ID_BUTTON32776_Rectangle
  113.     BUTTON      ID_BUTTON32778_RoundRectangle
  114.     BUTTON      ID_BUTTON32791_Polygon
  115.     BUTTON      ID_BUTTON32779_Ellipse
  116.     BUTTON      ID_BUTTON32780_Round
  117.     BUTTON      ID_BUTTON32777_Curve
  118.     BUTTON      ID_BUTTON_LiEllipse
  119.     BUTTON      ID_BUTTON32800_RoundArc
  120.     BUTTON      ID_BUTTON32805_EllipseArc
  121.     BUTTON      ID_BUTTON32807_PolyBezier
  122.     BUTTON      ID_BUTTON32809_Text
  123.     SEPARATOR
  124.     BUTTON      ID_BUTTON32774_Move
  125.     SEPARATOR
  126.     BUTTON      ID_BUTTON32856_DONothing
  127. END
  128. /////////////////////////////////////////////////////////////////////////////
  129. //
  130. // Menu
  131. //
  132. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  133. BEGIN
  134.     POPUP "文件(&F)"
  135.     BEGIN
  136.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  137.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  138.         MENUITEM SEPARATOR
  139.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  140.         MENUITEM SEPARATOR
  141.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  142.         MENUITEM SEPARATOR
  143.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  144.     END
  145.     POPUP "查看(&V)"
  146.     BEGIN
  147.         MENUITEM "工具栏(&T)",                  ID_VIEW_TOOLBAR
  148.         MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  149.     END
  150.     POPUP "帮助(&H)"
  151.     BEGIN
  152.         MENUITEM "关于 EastDraw(&A)...",        ID_APP_ABOUT
  153.     END
  154. END
  155. IDR_EASTDRTYPE MENU PRELOAD DISCARDABLE 
  156. BEGIN
  157.     POPUP "文件(&F)"
  158.     BEGIN
  159.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  160.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  161.         MENUITEM "关闭(&C)tCtrl+C",            ID_FILE_CLOSE
  162.         MENUITEM "保存(&S)tCtrl+S",            ID_FILE_SAVE
  163.         MENUITEM "另存为(&A)tCtrl+A",          ID_FILE_SAVE_AS
  164.         MENUITEM "另存为位图文件(&B)tCtrl+B",  ID_FILE_SAVE_AS_Bmp
  165.         MENUITEM SEPARATOR
  166.         MENUITEM "打印(&P)...tCtrl+P",         ID_FILE_PRINT
  167.         MENUITEM "打印预览(&V)",                ID_FILE_PRINT_PREVIEW
  168.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  169.         MENUITEM SEPARATOR
  170.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  171.         MENUITEM SEPARATOR
  172.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  173.     END
  174.     POPUP "编辑"
  175.     BEGIN
  176.         MENUITEM "设置绘图区域(&W)tCtrl+W",    ID_MENUITEM32794_SetRegin
  177.         MENUITEM "清洁绘图区(&C)tCtrl+E",      ID_BUTTON32850_ReDraw
  178.         MENUITEM "锁定图元属性(&L)tCtrl+L",    ID_BUTTON32830_Lock
  179.         MENUITEM "清除操作(&U)tCtrl+U",        ID_BUTTON32858_OnDo
  180.         MENUITEM "恢复操作(&R)tCtrl+R",        ID_BUTTON32859_ReDo
  181.         MENUITEM "鼠标捕捉(&M)tCtrl+M",        ID_MouseCap_On
  182.     END
  183.     POPUP "查看(&V)"
  184.     BEGIN
  185.         MENUITEM "属性框(&P)",                  Menu_ShowPorDlg
  186.         MENUITEM "显示坐标(&A)",                ID_BUTTON32845_Axis
  187.         MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  188.         MENUITEM "系统工具栏(&T)",              ID_VIEW_TOOLBAR
  189.         MENUITEM "绘图工具栏(&H)",              ID_ShowDrawTool_Bar
  190.     END
  191.     POPUP "窗口(&W)"
  192.     BEGIN
  193.         MENUITEM "新建窗口(&N)",                ID_WINDOW_NEW
  194.         MENUITEM "层叠(&C)",                    ID_WINDOW_CASCADE
  195.         MENUITEM "平铺(&T)",                    ID_WINDOW_TILE_HORZ
  196.         MENUITEM "排列图标(&A)",                ID_WINDOW_ARRANGE
  197.     END
  198.     POPUP "帮助(&H)"
  199.     BEGIN
  200.         MENUITEM "关于 EastDraw(&A)...",        ID_APP_ABOUT
  201.     END
  202. END
  203. IDR_MENU_TextEdit MENU DISCARDABLE 
  204. BEGIN
  205.     POPUP "TextEdit"
  206.     BEGIN
  207.         MENUITEM "撤消(&U)",                    ID_UnDo
  208.         MENUITEM SEPARATOR
  209.         MENUITEM "剪切(&T)",                    ID_Cut
  210.         MENUITEM "复制(&C)",                    ID_Copy
  211.         MENUITEM "粘贴(&P)",                    ID_Past
  212.         MENUITEM "删除(&D)",                    ID_Delete
  213.         MENUITEM SEPARATOR
  214.         MENUITEM "全选(&A)",                    ID_SelectAll
  215.         MENUITEM SEPARATOR
  216.         MENUITEM "移动编辑框(&M)",              ID_Move
  217.         MENUITEM "设置编辑框大小(&S)",          ID_MENUITEM_Size
  218.     END
  219. END
  220. IDR_MENU_Canvas_Edit MENU DISCARDABLE 
  221. BEGIN
  222.     POPUP "Canvas_Edit"
  223.     BEGIN
  224.         MENUITEM "旋转",                        ID_CirCu
  225.     END
  226. END
  227. IDR_MENU_OK MENU DISCARDABLE 
  228. BEGIN
  229.     POPUP ""
  230.     BEGIN
  231.         MENUITEM "确定",                        ID_MENUITEM_OK
  232.     END
  233. END
  234. IDR_MENU_Delete MENU DISCARDABLE 
  235. BEGIN
  236.     POPUP ""
  237.     BEGIN
  238.         MENUITEM "删除",                        ID_Delete
  239.     END
  240. END
  241. /////////////////////////////////////////////////////////////////////////////
  242. //
  243. // Accelerator
  244. //
  245. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  246. BEGIN
  247.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  248.     "D",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  249.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  250.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  251.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  252.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
  253.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  254.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  255.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  256.     VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  257.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  258.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  259.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  260.     VK_SPACE,       ID_ACCEL32877,          VIRTKEY, CONTROL, NOINVERT
  261.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  262. END
  263. /////////////////////////////////////////////////////////////////////////////
  264. //
  265. // Dialog
  266. //
  267. IDD_ABOUTBOX DIALOGEX 0, 0, 257, 209
  268. STYLE DS_MODALFRAME | WS_POPUP
  269. EXSTYLE WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  270. FONT 10, "宋体", 0, 0, 0x1
  271. BEGIN
  272.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  273.     CONTROL         176,IDC_STATIC,"Static",SS_BITMAP,0,0,257,209
  274. END
  275. IDD_PROPPAGE_DLine1 DIALOGEX 0, 0, 202, 128
  276. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  277. EXSTYLE WS_EX_TOOLWINDOW
  278. CAPTION "风格设定"
  279. FONT 8, "宋体", 0, 0, 0x1
  280. BEGIN
  281.     GROUPBOX        "画笔",IDC_STATIC,3,0,70,102
  282.     CONTROL         "SOLID   ",IDC_RADIO_Ps_Solid,"Button",
  283.                     BS_AUTORADIOBUTTON | WS_GROUP,6,11,45,14
  284.     CONTROL         "DASH",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,6,25,32,10
  285.     CONTROL         "DOT",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,6,35,28,10
  286.     CONTROL         "DASHDOT",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,6,45,44,
  287.                     10
  288.     CONTROL         "DASHDOTDOT",IDC_RADIO5,"Button",BS_AUTORADIOBUTTON,6,55,
  289.                     62,8
  290.     CONTROL         "NULL",IDC_RADIO15,"Button",BS_AUTORADIOBUTTON,6,63,32,
  291.                     10
  292.     CONTROL         "INSIDEFRAME   ",IDC_RADIO16,"Button",BS_AUTORADIOBUTTON,
  293.                     6,73,61,10
  294.     CONTROL         "",IDC_STATIC_ShowPenStyle,"Static",SS_BLACKFRAME,6,85,
  295.                     64,12
  296.     GROUPBOX        "笔宽",IDC_STATIC,11,103,53,24
  297.     EDITTEXT        IDC_EDIT_LineWidth,15,113,47,12,ES_AUTOHSCROLL
  298.     CONTROL         "Spin1",IDC_SPIN_DDLineWidth,"msctls_updown32",
  299.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | 
  300.                     UDS_ARROWKEYS,54,115,11,13
  301.     GROUPBOX        "画刷",IDC_STATIC,76,0,120,102
  302.     CONTROL         "HOLLOW",IDC_RADIO6_bs_hollow,"Button",
  303.                     BS_AUTORADIOBUTTON | WS_GROUP,80,13,52,8
  304.     CONTROL         "SOLID",IDC_RADIO7_bs_solid,"Button",BS_AUTORADIOBUTTON,
  305.                     138,12,48,8
  306.     CONTROL         "HATCHED",IDC_RADIO8_hatched,"Button",BS_AUTORADIOBUTTON,
  307.                     80,22,56,8
  308.     GROUPBOX        "填充阴影",IDC_STATIC,80,31,65,65
  309.     CONTROL         "BDIAGONAL",IDC_RADIO9_HS_BDIAGONAL,"Button",
  310.                     BS_AUTORADIOBUTTON | WS_GROUP,81,42,58,8
  311.     CONTROL         "DIAGCROSS",IDC_RADIO11_HS_DIAGCROSS,"Button",
  312.                     BS_AUTORADIOBUTTON,81,52,57,8
  313.     CONTROL         "FDIAGONAL",IDC_RADIO13_HS_FDIAGONAL,"Button",
  314.                     BS_AUTORADIOBUTTON,81,61,58,8
  315.     CONTROL         "CROSS",IDC_RADIO10_HS_CROSS,"Button",BS_AUTORADIOBUTTON,
  316.                     81,69,43,8
  317.     CONTROL         "HORIZONTAL",IDC_RADIO14_HS_HORIZONTAL,"Button",
  318.                     BS_AUTORADIOBUTTON,81,77,61,8
  319.     CONTROL         "VERTICAL",IDC_RADIO_HS_VERTICAL,"Button",
  320.                     BS_AUTORADIOBUTTON,81,86,53,8
  321.     CONTROL         "",IDC_STATIC_ShowBrushResult,"Static",SS_BLACKFRAME,147,
  322.                     35,45,60
  323.     COMBOBOX        IDC_COMBO_BackgroundMode,98,113,79,37,CBS_DROPDOWNLIST | 
  324.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  325.     GROUPBOX        "背景模式",IDC_STATIC,93,103,85,25
  326. END
  327. IDD_PROPPAGE_DLine2 DIALOGEX 0, 0, 204, 126
  328. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  329. EXSTYLE WS_EX_TOOLWINDOW
  330. CAPTION "颜色设定"
  331. FONT 8, "宋体", 0, 0, 0x1
  332. BEGIN
  333.     CONTROL         137,IDC_STATIC_Black,"Static",SS_BITMAP | SS_NOTIFY | 
  334.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,3,3,15,14,
  335.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  336.     CONTROL         141,IDC_STATIC_RarkRed,"Static",SS_BITMAP | SS_NOTIFY | 
  337.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,3,60,15,14,
  338.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  339.     CONTROL         145,IDC_STATIC_DrakGreen,"Static",SS_BITMAP | SS_NOTIFY | 
  340.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,25,41,15,14,
  341.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  342.     CONTROL         143,IDC_STATIC_DarkYellow,"Static",SS_BITMAP | SS_NOTIFY | 
  343.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,45,41,15,14,
  344.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  345.     CONTROL         149,IDC_STATIC_DrakBlue,"Static",SS_BITMAP | SS_NOTIFY | 
  346.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,3,22,15,14,
  347.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  348.     CONTROL         144,IDC_STATIC_Yellow,"Static",SS_BITMAP | SS_NOTIFY | 
  349.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,65,41,15,14,
  350.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  351.     CONTROL         139,IDC_STATIC_DarkGray,"Static",SS_BITMAP | SS_NOTIFY | 
  352.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,25,3,15,14,
  353.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  354.     CONTROL         140,IDC_STATIC_LightRray,"Static",SS_BITMAP | SS_NOTIFY | 
  355.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,45,3,15,14,
  356.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  357.     CONTROL         138,IDC_STATIC_White,"Static",SS_BITMAP | SS_NOTIFY | 
  358.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,65,3,15,14,
  359.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  360.     CONTROL         142,IDC_STATIC_Red,"Static",SS_BITMAP | SS_NOTIFY | 
  361.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,65,60,15,14,
  362.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  363.     CONTROL         150,IDC_STATIC_Blue,"Static",SS_BITMAP | SS_NOTIFY | 
  364.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,25,22,15,14,
  365.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  366.     CONTROL         147,IDC_STATIC_BITMAP5,"Static",SS_BITMAP | SS_NOTIFY | 
  367.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,3,41,15,14,
  368.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  369.     CONTROL         146,IDC_STATIC_Green,"Static",SS_BITMAP | SS_NOTIFY | 
  370.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,45,22,15,14,
  371.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  372.     CONTROL         148,IDC_STATIC_BITMAP6,"Static",SS_BITMAP | SS_NOTIFY | 
  373.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,65,22,15,14,
  374.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  375.     CONTROL         151,IDC_STATIC_BITMAP9,"Static",SS_BITMAP | SS_NOTIFY | 
  376.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,25,60,15,14,
  377.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  378.     CONTROL         152,IDC_STATIC_BITMAP10,"Static",SS_BITMAP | SS_NOTIFY | 
  379.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,45,60,15,14,
  380.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  381.     EDITTEXT        IDC_EDIT_Red,177,14,18,13,ES_AUTOHSCROLL | ES_READONLY
  382.     CONTROL         142,IDC_STATIC_Red2,"Static",SS_BITMAP | SS_NOTIFY | 
  383.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,90,14,9,8,
  384.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  385.     CONTROL         146,IDC_STATIC_Green2,"Static",SS_BITMAP | SS_NOTIFY | 
  386.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,90,33,9,8,
  387.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  388.     EDITTEXT        IDC_EDIT_Green,177,32,18,13,ES_AUTOHSCROLL | ES_READONLY
  389.     CONTROL         150,IDC_STATIC_Blue2,"Static",SS_BITMAP | SS_NOTIFY | 
  390.                     SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,90,54,9,8,
  391.                     WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  392.     EDITTEXT        IDC_EDIT_Blue,177,53,19,12,ES_AUTOHSCROLL | ES_READONLY,
  393.                     WS_EX_ACCEPTFILES
  394.     CONTROL         "Spin1",IDC_SPIN_Red,"msctls_updown32",UDS_ARROWKEYS | 
  395.                     NOT WS_VISIBLE,196,10,8,14
  396.     CONTROL         "Spin2",IDC_SPIN_Green,"msctls_updown32",UDS_ARROWKEYS | 
  397.                     NOT WS_VISIBLE,195,30,8,14
  398.     CONTROL         "Spin3",IDC_SPIN_Blue,"msctls_updown32",UDS_ARROWKEYS | 
  399.                     NOT WS_VISIBLE,194,55,8,14
  400.     CONTROL         "Slider1",IDC_SLIDER_Red,"msctls_trackbar32",
  401.                     TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,96,13,80,16
  402.     CONTROL         "Slider2",IDC_SLIDER_Green,"msctls_trackbar32",
  403.                     TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,96,30,80,16
  404.     CONTROL         "Slider3",IDC_SLIDER_Blue,"msctls_trackbar32",
  405.                     TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,96,51,80,16
  406.     CONTROL         "",IDC_STATIC_ShowColor,"Static",SS_GRAYFRAME | 
  407.                     SS_SUNKEN | WS_BORDER,3,76,77,27,WS_EX_CLIENTEDGE | 
  408.                     WS_EX_STATICEDGE
  409.     GROUPBOX        "RGB",IDC_STATIC,87,0,110,73
  410.     PUSHBUTTON      "拾取",IDC_BUTTON_Select,91,79,36,19,0,WS_EX_STATICEDGE
  411.     PUSHBUTTON      "调色板",IDC_BUTTON_ColorDlg,145,79,36,19,0,
  412.                     WS_EX_STATICEDGE
  413.     CONTROL         "画笔",IDC_CHECK_Pen,"Button",BS_AUTOCHECKBOX | 
  414.                     WS_TABSTOP,6,111,29,12
  415.     CONTROL         "画刷",IDC_CHECK_Brush,"Button",BS_AUTOCHECKBOX | 
  416.                     WS_TABSTOP,75,111,27,10
  417.     CONTROL         "背景",IDC_CHECK_Background,"Button",BS_AUTOCHECKBOX | 
  418.                     WS_TABSTOP,144,111,29,10
  419.     CONTROL         "",IDC_ShowPenColor,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  420.                     WS_BORDER,40,104,20,19,WS_EX_CLIENTEDGE | 
  421.                     WS_EX_STATICEDGE
  422.     CONTROL         "",IDC_ShowBrushColor,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  423.                     WS_BORDER,109,103,20,20,WS_EX_CLIENTEDGE | 
  424.                     WS_EX_STATICEDGE
  425.     CONTROL         "",IDC_ShowBackground,"Static",SS_BLACKFRAME | SS_SUNKEN | 
  426.                     WS_BORDER,180,104,20,20,WS_EX_CLIENTEDGE | 
  427.                     WS_EX_STATICEDGE
  428. END
  429. IDD_PROPPAGE_Mode DIALOGEX 0, 0, 202, 127
  430. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  431. EXSTYLE WS_EX_TOOLWINDOW
  432. CAPTION "模式设定"
  433. FONT 8, "宋体", 0, 0, 0x1
  434. BEGIN
  435.     COMBOBOX        IDC_COMBO_BackgroundMode,111,103,79,37,CBS_DROPDOWNLIST | 
  436.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  437.     CONTROL         "Tree1",IDC_TREE_DrawingMode,"SysTreeView32",
  438.                     TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | 
  439.                     TVS_SHOWSELALWAYS | TVS_TRACKSELECT | WS_BORDER | 
  440.                     WS_TABSTOP,6,9,92,98
  441.     GROUPBOX        "背景模式",IDC_STATIC,103,91,92,31
  442.     EDITTEXT        IDC_EDIT_Detail,107,12,84,71,ES_MULTILINE | ES_READONLY | 
  443.                     ES_WANTRETURN
  444.     GROUPBOX        "绘图模式",IDC_STATIC,2,0,98,123
  445.     CONTROL         "打开绘图模式",IDC_CHECK_ModeCheck,"Button",
  446.                     BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,5,108,88,13
  447.     GROUPBOX        "描述",IDC_STATIC,101,1,95,87
  448. END
  449. IDD_DIALOG_ReginSet DIALOGEX 0, 0, 138, 100
  450. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  451. CAPTION "区域设置"
  452. FONT 11, "宋体"
  453. BEGIN
  454.     DEFPUSHBUTTON   "OK",IDOK,56,84,32,14,0,WS_EX_STATICEDGE
  455.     PUSHBUTTON      "Cancel",IDCANCEL,99,84,32,14,0,WS_EX_STATICEDGE
  456.     LTEXT           "宽",IDC_STATIC,72,18,10,10
  457.     EDITTEXT        IDC_EDIT_Width,26,17,32,13,ES_AUTOHSCROLL | 
  458.                     ES_OEMCONVERT | ES_NUMBER
  459.     LTEXT           "高",IDC_STATIC,11,19,8,9
  460.     EDITTEXT        IDC_EDIT_Length,86,17,32,13,ES_AUTOHSCROLL | 
  461.                     ES_OEMCONVERT | ES_NUMBER
  462.     GROUPBOX        "尺寸(单位:像素)",IDC_STATIC,6,4,121,29
  463.     GROUPBOX        "坐标原点",IDC_STATIC,6,46,121,30
  464.     LTEXT           "X",IDC_STATIC,11,60,8,8
  465.     LTEXT           "Y",IDC_STATIC,71,61,8,8
  466.     EDITTEXT        IDC_EDIT3,25,57,30,13,ES_AUTOHSCROLL | WS_DISABLED
  467.     EDITTEXT        IDC_EDIT4,84,56,30,13,ES_AUTOHSCROLL | WS_DISABLED
  468.     CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,7,41,118,1,
  469.                     WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
  470. END
  471. #ifndef _MAC
  472. /////////////////////////////////////////////////////////////////////////////
  473. //
  474. // Version
  475. //
  476. VS_VERSION_INFO VERSIONINFO
  477.  FILEVERSION 1,0,0,1
  478.  PRODUCTVERSION 1,0,0,1
  479.  FILEFLAGSMASK 0x3fL
  480. #ifdef _DEBUG
  481.  FILEFLAGS 0x1L
  482. #else
  483.  FILEFLAGS 0x0L
  484. #endif
  485.  FILEOS 0x4L
  486.  FILETYPE 0x1L
  487.  FILESUBTYPE 0x0L
  488. BEGIN
  489.     BLOCK "StringFileInfo"
  490.     BEGIN
  491.         BLOCK "080404b0"
  492.         BEGIN
  493.             VALUE "Comments", ""
  494.             VALUE "CompanyName", ""
  495.             VALUE "FileDescription", "EastDraw应用程序"
  496.             VALUE "FileVersion", "1, 0, 0, 1"
  497.             VALUE "InternalName", "EastDraw"
  498.             VALUE "LegalCopyright", "版权所有 (C) 2002"
  499.             VALUE "LegalTrademarks", ""
  500.             VALUE "OriginalFilename", "EastDraw.EXE"
  501.             VALUE "PrivateBuild", ""
  502.             VALUE "ProductName", "EastDraw 应用程序"
  503.             VALUE "ProductVersion", "1, 0, 0, 1"
  504.             VALUE "SpecialBuild", ""
  505.         END
  506.     END
  507.     BLOCK "VarFileInfo"
  508.     BEGIN
  509.         VALUE "Translation", 0x804, 1200
  510.     END
  511. END
  512. #endif    // !_MAC
  513. /////////////////////////////////////////////////////////////////////////////
  514. //
  515. // DESIGNINFO
  516. //
  517. #ifdef APSTUDIO_INVOKED
  518. GUIDELINES DESIGNINFO DISCARDABLE 
  519. BEGIN
  520.     IDD_ABOUTBOX, DIALOG
  521.     BEGIN
  522.         LEFTMARGIN, 7
  523.         RIGHTMARGIN, 250
  524.         TOPMARGIN, 7
  525.         BOTTOMMARGIN, 202
  526.     END
  527.     IDD_PROPPAGE_DLine1, DIALOG
  528.     BEGIN
  529.         LEFTMARGIN, 1
  530.         RIGHTMARGIN, 195
  531.         TOPMARGIN, 7
  532.         BOTTOMMARGIN, 121
  533.     END
  534.     IDD_PROPPAGE_DLine2, DIALOG
  535.     BEGIN
  536.         LEFTMARGIN, 7
  537.         RIGHTMARGIN, 197
  538.         VERTGUIDE, 7
  539.         VERTGUIDE, 28
  540.         VERTGUIDE, 47
  541.         VERTGUIDE, 67
  542.         VERTGUIDE, 88
  543.         BOTTOMMARGIN, 119
  544.         HORZGUIDE, 26
  545.         HORZGUIDE, 46
  546.         HORZGUIDE, 66
  547.     END
  548.     IDD_PROPPAGE_Mode, DIALOG
  549.     BEGIN
  550.         LEFTMARGIN, 7
  551.         RIGHTMARGIN, 195
  552.         TOPMARGIN, 7
  553.         BOTTOMMARGIN, 120
  554.     END
  555.     IDD_DIALOG_ReginSet, DIALOG
  556.     BEGIN
  557.         LEFTMARGIN, 1
  558.         RIGHTMARGIN, 135
  559.         TOPMARGIN, 2
  560.         BOTTOMMARGIN, 97
  561.     END
  562. END
  563. #endif    // APSTUDIO_INVOKED
  564. /////////////////////////////////////////////////////////////////////////////
  565. //
  566. // Dialog Info
  567. //
  568. IDD_PROPPAGE_Mode DLGINIT
  569. BEGIN
  570.     IDC_COMBO_BackgroundMode, 0x403, 7, 0
  571. 0xbbb2, 0xb8cd, 0xf7c3, "00" 
  572.     IDC_COMBO_BackgroundMode, 0x403, 5, 0
  573. 0xb8cd, 0xf7c3, "00" 
  574.     0
  575. END
  576. IDD_PROPPAGE_DLine1 DLGINIT
  577. BEGIN
  578.     IDC_COMBO_BackgroundMode, 0x403, 7, 0
  579. 0xbbb2, 0xb8cd, 0xf7c3, "00" 
  580.     IDC_COMBO_BackgroundMode, 0x403, 5, 0
  581. 0xb8cd, 0xf7c3, "00" 
  582.     0
  583. END
  584. /////////////////////////////////////////////////////////////////////////////
  585. //
  586. // Cursor
  587. //
  588. ID_Draw                 CURSOR  DISCARDABLE     "res\id_draw.cur"
  589. ID_Change               CURSOR  DISCARDABLE     "res\id_chang.cur"
  590. /////////////////////////////////////////////////////////////////////////////
  591. //
  592. // String Table
  593. //
  594. STRINGTABLE PRELOAD DISCARDABLE 
  595. BEGIN
  596.     IDR_MAINFRAME           "EastDraw"
  597.     IDR_EASTDRTYPE          "nEastDrnEastDrawnEastDraw 文件 (*.ed)n.ednEastDraw.DocumentnEastDraw Document"
  598. END
  599. STRINGTABLE PRELOAD DISCARDABLE 
  600. BEGIN
  601.     AFX_IDS_APP_TITLE       "EastDraw"
  602.     AFX_IDS_IDLEMESSAGE     "就绪"
  603. END
  604. STRINGTABLE DISCARDABLE 
  605. BEGIN
  606.     ID_INDICATOR_EXT        "扩展名"
  607.     ID_INDICATOR_CAPS       "大写"
  608.     ID_INDICATOR_NUM        "数字"
  609.     ID_INDICATOR_SCRL       "滚动"
  610.     ID_INDICATOR_OVR        "改写"
  611.     ID_INDICATOR_REC        "记录"
  612.     ID_MousPoint            "ID_MousPoint"
  613.     ID_MousCaption          "逻辑坐标"
  614. END
  615. STRINGTABLE DISCARDABLE 
  616. BEGIN
  617.     ID_FILE_NEW             "建立新文档n新建"
  618.     ID_FILE_OPEN            "打开一个现有文档n打开"
  619.     ID_FILE_CLOSE           "关闭活动文档n关闭"
  620.     ID_FILE_SAVE            "n保存为矢量格式"
  621.     ID_FILE_SAVE_AS         "n另存为BMP位图"
  622.     ID_FILE_PAGE_SETUP      "改变打印选项n页面设置"
  623.     ID_FILE_PRINT_SETUP     "改变打印机及打印选项n打印设置"
  624.     ID_FILE_PRINT           "打印活动文档n打印"
  625.     ID_FILE_PRINT_PREVIEW   "显示整页n打印预览"
  626. END
  627. STRINGTABLE DISCARDABLE 
  628. BEGIN
  629.     ID_APP_ABOUT            "显示程序信息,版本号和版权n关于"
  630.     ID_APP_EXIT             "退出应用程序;提示保存文档n退出"
  631. END
  632. STRINGTABLE DISCARDABLE 
  633. BEGIN
  634.     ID_FILE_MRU_FILE1       "打开该文档"
  635.     ID_FILE_MRU_FILE2       "打开该文档"
  636.     ID_FILE_MRU_FILE3       "打开该文档"
  637.     ID_FILE_MRU_FILE4       "打开该文档"
  638.     ID_FILE_MRU_FILE5       "打开该文档"
  639.     ID_FILE_MRU_FILE6       "打开该文档"
  640.     ID_FILE_MRU_FILE7       "打开该文档"
  641.     ID_FILE_MRU_FILE8       "打开该文档"
  642.     ID_FILE_MRU_FILE9       "打开该文档"
  643.     ID_FILE_MRU_FILE10      "打开该文档"
  644.     ID_FILE_MRU_FILE11      "打开该文档"
  645.     ID_FILE_MRU_FILE12      "打开该文档"
  646.     ID_FILE_MRU_FILE13      "打开该文档"
  647.     ID_FILE_MRU_FILE14      "打开该文档"
  648.     ID_FILE_MRU_FILE15      "打开该文档"
  649.     ID_FILE_MRU_FILE16      "打开该文档"
  650. END
  651. STRINGTABLE DISCARDABLE 
  652. BEGIN
  653.     ID_NEXT_PANE            "切换到下一个窗格n下一窗格"
  654.     ID_PREV_PANE            "切换回前一个窗格n前一窗格"
  655. END
  656. STRINGTABLE DISCARDABLE 
  657. BEGIN
  658.     ID_WINDOW_NEW           "为活动文档打开另一个窗口n新建窗口"
  659.     ID_WINDOW_ARRANGE       "将图标排列在窗口底部n排列图标"
  660.     ID_WINDOW_CASCADE       "排列窗口成相互重叠n层叠窗口"
  661.     ID_WINDOW_TILE_HORZ     "排列窗口成互不重叠n平铺窗口"
  662.     ID_WINDOW_TILE_VERT     "排列窗口成互不重叠n平铺窗口"
  663.     ID_WINDOW_SPLIT         "将活动的窗口分隔成窗格n分隔"
  664. END
  665. STRINGTABLE DISCARDABLE 
  666. BEGIN
  667.     ID_EDIT_CLEAR           "删除被选对象n删除"
  668.     ID_EDIT_CLEAR_ALL       "全部删除n全部删除"
  669.     ID_EDIT_COPY            "复制被选对象并将其置于剪贴板上n复制"
  670.     ID_EDIT_CUT             "剪切被选对象并将其置于剪贴板上n剪切"
  671.     ID_EDIT_FIND            "查找指定的正文n查找"
  672.     ID_EDIT_PASTE           "插入剪贴板内容n粘贴"
  673.     ID_EDIT_REPEAT          "重复上一步操作n重复"
  674.     ID_EDIT_REPLACE         "用不同的正文替换指定的正文n替换"
  675.     ID_EDIT_SELECT_ALL      "选择整个文档n选择全部"
  676.     ID_EDIT_UNDO            "撤消最后一步操作n撤消"
  677.     ID_EDIT_REDO            "重新执行先前已撤消的操作n重新执行"
  678. END
  679. STRINGTABLE DISCARDABLE 
  680. BEGIN
  681.     ID_VIEW_TOOLBAR         "显示或隐藏工具栏n显隐工具栏"
  682.     ID_VIEW_STATUS_BAR      "显示或隐藏状态栏n显隐状态栏"
  683. END
  684. STRINGTABLE DISCARDABLE 
  685. BEGIN
  686.     AFX_IDS_SCSIZE          "改变窗口大小"
  687.     AFX_IDS_SCMOVE          "改变窗口位置"
  688.     AFX_IDS_SCMINIMIZE      "将窗口缩小成图标"
  689.     AFX_IDS_SCMAXIMIZE      "把窗口放大到最大尺寸"
  690.     AFX_IDS_SCNEXTWINDOW    "切换到下一个文档窗口"
  691.     AFX_IDS_SCPREVWINDOW    "切换到先前的文档窗口"
  692.     AFX_IDS_SCCLOSE         "关闭活动的窗口并提示保存所有文档"
  693. END
  694. STRINGTABLE DISCARDABLE 
  695. BEGIN
  696.     AFX_IDS_SCRESTORE       "把窗口恢复到正常大小"
  697.     AFX_IDS_SCTASKLIST      "激活任务表"
  698.     AFX_IDS_MDICHILD        "激活该窗口"
  699. END
  700. STRINGTABLE DISCARDABLE 
  701. BEGIN
  702.     AFX_IDS_PREVIEW_CLOSE   "关闭打印预览模式n取消预阅"
  703. END
  704. STRINGTABLE DISCARDABLE 
  705. BEGIN
  706.     ID_ShowDrawTool_Bar     "n绘图工具栏"
  707.     ID_BUTTON32830_Lock     "n锁定图元属性"
  708. END
  709. STRINGTABLE DISCARDABLE 
  710. BEGIN
  711.     ID_BUTTON32834          "n设置绘图区域大小"
  712.     ID_BUTTON32845_Axis     "n坐标"
  713. END
  714. STRINGTABLE DISCARDABLE 
  715. BEGIN
  716.     Menu_ShowPorDlg         "n属性框"
  717.     ID_MENUITEM32794_SetRegin "n设置绘图区域"
  718. END
  719. STRINGTABLE DISCARDABLE 
  720. BEGIN
  721.     ID_BUTTON32850_ReDraw   "n清洁绘图区"
  722.     ID_BUTTON32856_DONothing "n无操作状态"
  723.     ID_BUTTON32858_OnDo     "n清除操作"
  724.     ID_BUTTON32859_ReDo     "n恢复操作"
  725.     ID_FILE_SAVE_AS_Bmp     "n另存为位图文件"
  726.     ID_MouseCap_On          "n鼠标捕捉"
  727. END
  728. #endif    // Chinese (P.R.C.) resources
  729. /////////////////////////////////////////////////////////////////////////////
  730. /////////////////////////////////////////////////////////////////////////////
  731. // English (U.S.) resources
  732. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  733. #ifdef _WIN32
  734. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  735. #pragma code_page(1252)
  736. #endif //_WIN32
  737. /////////////////////////////////////////////////////////////////////////////
  738. //
  739. // Bitmap
  740. //
  741. IDR_STYLE_BAR           BITMAP  FIXED IMPURE    "res\style_ba.bmp"
  742. /////////////////////////////////////////////////////////////////////////////
  743. //
  744. // Toolbar
  745. //
  746. IDR_STYLE_BAR TOOLBAR FIXED IMPURE  16, 15
  747. BEGIN
  748.     BUTTON      ID_CHAR_BOLD
  749.     BUTTON      ID_CHAR_ITALIC
  750.     BUTTON      ID_CHAR_UNDERLINE
  751.     SEPARATOR
  752.     BUTTON      IDC_F
  753.     SEPARATOR
  754.     BUTTON      IDC_FONT
  755. END
  756. /////////////////////////////////////////////////////////////////////////////
  757. //
  758. // Cursor
  759. //
  760. Cursor_Move             CURSOR  DISCARDABLE     "res\cursor_m.cur"
  761. #endif    // English (U.S.) resources
  762. /////////////////////////////////////////////////////////////////////////////
  763. #ifndef APSTUDIO_INVOKED
  764. /////////////////////////////////////////////////////////////////////////////
  765. //
  766. // Generated from the TEXTINCLUDE 3 resource.
  767. //
  768. #define _AFX_NO_SPLITTER_RESOURCES
  769. #define _AFX_NO_OLE_RESOURCES
  770. #define _AFX_NO_TRACKER_RESOURCES
  771. #define _AFX_NO_PROPERTY_RESOURCES
  772. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  773. #ifdef _WIN32
  774. LANGUAGE 4, 2
  775. #pragma code_page(936)
  776. #endif //_WIN32
  777. #include "resEastDraw.rc2"  // non-Microsoft Visual C++ edited resources
  778. #include "l.chsafxres.rc"          // Standard components
  779. #include "l.chsafxprint.rc"        // printing/print preview resources
  780. #include "l.chsafxdb.rc"           // Database resources
  781. #endif
  782. /////////////////////////////////////////////////////////////////////////////
  783. #endif    // not APSTUDIO_INVOKED