MiniCAD.rc
上传用户:netltd
上传日期:2013-02-12
资源大小:7234k
文件大小:44k
源码类别:

绘图程序

开发平台:

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\MiniCAD.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\MiniCAD.ico"
  60. IDR_MINICATYPE          ICON    DISCARDABLE     "res\MiniCADDoc.ico"
  61. IDI_FLOPPY              ICON    DISCARDABLE     "res\Floppy.ico"
  62. IDI_CLSFOLD             ICON    DISCARDABLE     "res\Folder.ico"
  63. IDI_CDROM               ICON    DISCARDABLE     "res\Cd-rom.ico"
  64. IDI_OPENFOLD            ICON    DISCARDABLE     "res\Openfold.ico"
  65. IDI_HARDDISK            ICON    DISCARDABLE     "res\Harddisk.ico"
  66. IDI_MYCOMPUTER          ICON    DISCARDABLE     "res\Mycomp.ico"
  67. IDI_PROJECT             ICON    DISCARDABLE     "res\project.ico"
  68. IDI_RED                 ICON    DISCARDABLE     "res\red.ico"
  69. IDI_BLUE                ICON    DISCARDABLE     "res\blue.ico"
  70. IDI_YELLOW              ICON    DISCARDABLE     "res\yellow.ico"
  71. IDI_GREEN               ICON    DISCARDABLE     "res\green.ico"
  72. IDI_CYAN                ICON    DISCARDABLE     "res\cyan.ico"
  73. IDI_MAGENTA             ICON    DISCARDABLE     "res\magenta.ico"
  74. IDI_BLACK               ICON    DISCARDABLE     "res\black.ico"
  75. IDI_FILE                ICON    DISCARDABLE     "res\file.ico"
  76. IDI_LAYER               ICON    DISCARDABLE     "res\icon1.ico"
  77. IDI_LOCKLAYER           ICON    DISCARDABLE     "res\ico00001.ico"
  78. IDI_HIDELAYER           ICON    DISCARDABLE     "res\ico00002.ico"
  79. IDI_LOCKHIDELAYER       ICON    DISCARDABLE     "res\ico00003.ico"
  80. IDI_SHOWFLAG            ICON    DISCARDABLE     "res\ico00004.ico"
  81. IDI_HIDEFLAG            ICON    DISCARDABLE     "res\ico00005.ico"
  82. IDI_UNLOCKFLAG          ICON    DISCARDABLE     "res\ico00006.ico"
  83. IDI_LOCKFLAG            ICON    DISCARDABLE     "res\icon2.ico"
  84. IDI_CURRENTLAYER        ICON    DISCARDABLE     "res\ico00007.ico"
  85. IDI_CURRENTFLAG         ICON    DISCARDABLE     "res\W95mbx03.ico"
  86. IDI_NOCURRENTFLAG       ICON    DISCARDABLE     "res\ico00008.ico"
  87. IDI_CURRENTLOCKLAYER    ICON    DISCARDABLE     "res\ico00009.ico"
  88. IDI_CURRENTHIDELAYER    ICON    DISCARDABLE     "res\ico00010.ico"
  89. IDI_CURRENTLOCKHIDELAYER ICON    DISCARDABLE     "res\ico00011.ico"
  90. /////////////////////////////////////////////////////////////////////////////
  91. //
  92. // Bitmap
  93. //
  94. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  95. IDR_MYDRAWTOOLBAR       BITMAP  DISCARDABLE     "res\drawtool.bmp"
  96. IDB_SOLID               BITMAP  DISCARDABLE     "res\solid.bmp"
  97. IDB_DASH                BITMAP  DISCARDABLE     "res\dash.bmp"
  98. IDB_DOT                 BITMAP  DISCARDABLE     "res\dot.bmp"
  99. IDB_DASHDOT             BITMAP  DISCARDABLE     "res\dashdot.bmp"
  100. IDB_DASHDOTDOT          BITMAP  DISCARDABLE     "res\dashdotd.bmp"
  101. IDR_MYMODIFYTOOLBAR     BITMAP  DISCARDABLE     "res\toolbar1.bmp"
  102. /////////////////////////////////////////////////////////////////////////////
  103. //
  104. // Toolbar
  105. //
  106. IDR_MAINFRAME TOOLBAR DISCARDABLE  17, 16
  107. BEGIN
  108.     BUTTON      ID_FILE_NEWF
  109.     BUTTON      ID_FILE_OPENF
  110.     BUTTON      ID_FILE_SAVE
  111.     SEPARATOR
  112.     BUTTON      ID_FILE_PRINT
  113.     BUTTON      ID_FILE_PRINT_PREVIEW
  114.     SEPARATOR
  115.     BUTTON      ID_VIEW_FULL
  116.     SEPARATOR
  117.     BUTTON      ID_EDIT_CUT
  118.     BUTTON      ID_EDIT_COPY
  119.     BUTTON      ID_EDIT_PASTE
  120.     SEPARATOR
  121.     BUTTON      ID_EDIT_UNDO
  122.     BUTTON      ID_EDIT_REDO
  123.     SEPARATOR
  124.     BUTTON      ID_VIEW_REDRAW
  125.     SEPARATOR
  126.     BUTTON      ID_VIEW_ZOOM
  127.     BUTTON      ID_VIEW_ZOOMOUT
  128.     BUTTON      ID_VIEW_ZOOMIN
  129.     SEPARATOR
  130.     BUTTON      ID_APP_ABOUT
  131.     BUTTON      ID_CONTEXT_HELP
  132. END
  133. IDR_MYDRAWTOOLBAR TOOLBAR DISCARDABLE  16, 16
  134. BEGIN
  135.     BUTTON      ID_DRAW_SELECT
  136.     SEPARATOR
  137.     BUTTON      ID_DRAW_LINE
  138.     BUTTON      ID_DRAW_MULTILINE
  139.     BUTTON      ID_DRAW_DEFINELINE
  140.     BUTTON      ID_DRAW_ARC
  141.     BUTTON      ID_DRAW_CURVE
  142.     BUTTON      ID_DRAW_DOT
  143.     SEPARATOR
  144.     BUTTON      ID_DRAW_RECT
  145.     BUTTON      ID_DRAW_POLYGON
  146.     BUTTON      ID_DRAW_CIRCLE
  147.     BUTTON      ID_DRAW_ELLIPSE
  148.     SEPARATOR
  149.     BUTTON      ID_DRAW_TEXT
  150.     BUTTON      ID_BUTTON32940
  151.     SEPARATOR
  152.     BUTTON      ID_BUTTON32949
  153.     BUTTON      ID_BUTTON32956
  154. END
  155. IDR_MYMODIFYTOOLBAR TOOLBAR DISCARDABLE  16, 16
  156. BEGIN
  157.     BUTTON      ID_MODIFY_DELETE
  158.     SEPARATOR
  159.     BUTTON      ID_MODIFY_COPY
  160.     BUTTON      ID_MODIFY_MIRROR
  161.     BUTTON      ID_MODIFY_EXCURSION
  162.     SEPARATOR
  163.     BUTTON      ID_MODIFY_MOVE
  164.     BUTTON      ID_MODIFY_ROTATE
  165.     SEPARATOR
  166.     BUTTON      ID_MODIFY_CUT
  167.     BUTTON      ID_MODIFY_LENGTHENTO
  168.     BUTTON      ID_MODIFY_CUTTOANGLE
  169.     BUTTON      ID_MODIFY_JOIN
  170.     BUTTON      ID_MODIFY_VERTICAL
  171.     BUTTON      ID_BUTTON32932
  172.     SEPARATOR
  173.     BUTTON      ID_BUTTON32913
  174.     BUTTON      ID_BUTTON32914
  175.     BUTTON      ID_BUTTON32915
  176.     BUTTON      ID_BUTTON32916
  177.     BUTTON      ID_BUTTON32917
  178.     BUTTON      ID_BUTTON32919
  179. END
  180. /////////////////////////////////////////////////////////////////////////////
  181. //
  182. // Menu
  183. //
  184. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  185. BEGIN
  186.     POPUP "文件(&F)"
  187.     BEGIN
  188.         MENUITEM "新建(&N)...tCtrl+N",         ID_FILE_NEWF
  189.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPENF
  190.         MENUITEM "关闭(&C)",                    ID_FILE_CLOSEF, GRAYED
  191.         MENUITEM SEPARATOR
  192.         MENUITEM "新建项目[&P]...",             ID_FILE_NEWP
  193.         MENUITEM "打开项目[&E]...",             ID_FILE_OPENP
  194.         POPUP "增加图纸"
  195.         BEGIN
  196.             MENUITEM "新建[&F]...",                 ID_FILE_NEWFTOP, GRAYED
  197.             MENUITEM "打开[&A]...",                 ID_FILE_OPENFTOP, GRAYED
  198.         END
  199.         MENUITEM "保存项目[&V]",                ID_FILE_SAVEP, GRAYED
  200.         MENUITEM "关闭项目[&K]",                ID_FILE_CLOSEP, GRAYED
  201.         MENUITEM SEPARATOR
  202.         MENUITEM "保存(&S)tCtrl+S",            ID_FILE_SAVEF, GRAYED
  203.         MENUITEM "另存为(&A)...",               ID_FILE_SAVEF_AS, GRAYED
  204.         MENUITEM "全部保存[&L]",                ID_FILE_SAVEALL, GRAYED
  205.         MENUITEM SEPARATOR
  206.         MENUITEM "打印(&P)...tCtrl+P",         ID_FILE_PRINT, GRAYED
  207.         MENUITEM "打印预览(&V)",                ID_FILE_PRINT_PREVIEW
  208.         , GRAYED
  209.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  210.         MENUITEM SEPARATOR
  211.         POPUP "最近项目"
  212.         BEGIN
  213.             MENUITEM "最近项目列表",                ID_FILE_PROJECTLIST
  214.         END
  215.         POPUP "最近文件"
  216.         BEGIN
  217.             MENUITEM "最近文件列表",                ID_FILE_FILELIST
  218.         END
  219.         MENUITEM SEPARATOR
  220.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  221.     END
  222.     POPUP "查看(&V)"
  223.     BEGIN
  224.         POPUP "工具条"
  225.         BEGIN
  226.             MENUITEM "标准工具栏(&T)",              ID_VIEW_TOOLBAR
  227.             MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  228.             MENUITEM "工作区[&P]",                  ID_VIEW_MYWORKBAR
  229.             MENUITEM "绘图条[&D]",                  ID_VIEW_MYDRAWTOOLBAR
  230.             MENUITEM "选项条[&O]",                  ID_VIEW_MYOPTIONBAR
  231.         END
  232.     END
  233.     POPUP "帮助(&H)"
  234.     BEGIN
  235.         MENUITEM "帮助主题(&H)",                ID_HELP_FINDER
  236.         MENUITEM SEPARATOR
  237.         MENUITEM "关于 MiniCAD(&A)...",         ID_APP_ABOUT
  238.     END
  239. END
  240. IDR_MINICATYPE MENU PRELOAD DISCARDABLE 
  241. BEGIN
  242.     POPUP "文件(&F)"
  243.     BEGIN
  244.         MENUITEM "新建(&N)...tCtrl+N",         ID_FILE_NEWF
  245.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPENF
  246.         MENUITEM "关闭(&C)",                    ID_FILE_CLOSEF
  247.         MENUITEM SEPARATOR
  248.         MENUITEM "新建项目[&P]...",             ID_FILE_NEWP
  249.         MENUITEM "打开项目[&P]...",             ID_FILE_OPENP
  250.         POPUP "增加图纸"
  251.         BEGIN
  252.             MENUITEM "新建[&F]...",                 ID_FILE_NEWFTOP
  253.             MENUITEM "打开[&A]...",                 ID_FILE_OPENFTOP
  254.         END
  255.         MENUITEM "保存项目[&V]",                ID_FILE_SAVEP
  256.         MENUITEM "关闭项目[&K]",                ID_FILE_CLOSEP
  257.         MENUITEM SEPARATOR
  258.         MENUITEM "保存(&S)tCtrl+S",            ID_FILE_SAVEF
  259.         MENUITEM "另存为(&A)...",               ID_FILE_SAVEF_AS
  260.         MENUITEM "全部保存[&L]",                ID_FILE_SAVEALL
  261.         MENUITEM SEPARATOR
  262.         MENUITEM "打印(&P)...tCtrl+P",         ID_FILE_PRINT
  263.         MENUITEM "打印预览(&V)",                ID_FILE_PRINT_PREVIEW
  264.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  265.         MENUITEM SEPARATOR
  266.         POPUP "最近项目 "
  267.         BEGIN
  268.             MENUITEM "最近项目列表",                ID_FILE_PROJECTLIST
  269.         END
  270.         POPUP "最近文件"
  271.         BEGIN
  272.             MENUITEM "最近文件列表",                ID_FILE_FILELIST, GRAYED
  273.         END
  274.         MENUITEM SEPARATOR
  275.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  276.     END
  277.     POPUP "编辑(&E)"
  278.     BEGIN
  279.         MENUITEM "撤消(&U)tCtrl+Z",            ID_EDIT_UNDO
  280.         MENUITEM "重做[&R]tCtrl+Y",            ID_EDIT_REDO
  281.         MENUITEM SEPARATOR
  282.         MENUITEM "剪切(&T)tCtrl+X",            ID_EDIT_CUT
  283.         MENUITEM "复制(&C)tCtrl+C",            ID_EDIT_COPY
  284.         MENUITEM "粘贴(&P)tCtrl+V",            ID_EDIT_PASTE
  285.     END
  286.     POPUP "查看(&V)"
  287.     BEGIN
  288.         MENUITEM "重画[&A]",                    ID_VIEW_REDRAW
  289.         MENUITEM SEPARATOR
  290.         POPUP "缩放"
  291.         BEGIN
  292.             MENUITEM "比例放大[&U]",                ID_VIEW_ZOOMOUT
  293.             MENUITEM "比例缩小[&I]",                ID_VIEW_ZOOMIN
  294.             MENUITEM "实时缩放[&Z]",                ID_VIEW_ZOOM
  295.         END
  296.         MENUITEM "全屏[&F]",                    ID_VIEW_FULL
  297.         MENUITEM SEPARATOR
  298.         POPUP "工具条"
  299.         BEGIN
  300.             MENUITEM "标准工具栏(&T)",              ID_VIEW_TOOLBAR
  301.             MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  302.             MENUITEM "工作区[&W]",                  ID_VIEW_MYWORKBAR
  303.             MENUITEM "绘图条[&D]",                  ID_VIEW_MYDRAWTOOLBAR
  304.             MENUITEM "选项条[&O]",                  ID_VIEW_MYOPTIONBAR
  305.             MENUITEM "命令条[&C]",                  ID_VIEW_MYCOMMANDBAR
  306.         END
  307.     END
  308.     POPUP "插入[&I]"
  309.     BEGIN
  310.         MENUITEM "元件[&C]",                    ID_INSERT_COMPONENT
  311.         MENUITEM "图像[&I]",                    ID_INSERT_IMAGE
  312.     END
  313.     POPUP "绘图[&D]"
  314.     BEGIN
  315.         MENUITEM "选择[&S]",                    ID_DRAW_SELECT
  316.         MENUITEM SEPARATOR
  317.         MENUITEM "直线[&L]",                    ID_DRAW_LINE
  318.         MENUITEM "多重平行线[&M]",              ID_DRAW_MULTILINE
  319.         MENUITEM "多义线[&F]",                  ID_DRAW_DEFINELINE
  320.         MENUITEM "圆弧[&A]",                    ID_DRAW_ARC
  321.         MENUITEM "平滑曲线[&U]",                ID_DRAW_CURVE
  322.         MENUITEM "点[&D]",                      ID_DRAW_DOT
  323.         MENUITEM SEPARATOR
  324.         MENUITEM "矩形[&R]",                    ID_DRAW_RECT
  325.         MENUITEM "多边形[&P]",                  ID_DRAW_POLYGON
  326.         MENUITEM "圆[&C]",                      ID_DRAW_CIRCLE
  327.         MENUITEM "椭圆[&E]",                    ID_DRAW_ELLIPSE
  328.         MENUITEM SEPARATOR
  329.         MENUITEM "文字[&T]",                    ID_DRAW_TEXT
  330.     END
  331.     POPUP "修改[&C]"
  332.     BEGIN
  333.         MENUITEM "删除[&D]",                    ID_MODIFY_DELETE
  334.         MENUITEM SEPARATOR
  335.         POPUP "排列"
  336.         BEGIN
  337.             MENUITEM "左侧对齐[&F]",                ID_MODIFY_ARRANGE_LEFT
  338.             MENUITEM "右侧对齐[&I]",                ID_MODIFY_ARRANGE_RIGHT
  339.             MENUITEM "顶部对齐[&T]",                ID_MODIFY_ARRANGE_TOP
  340.             MENUITEM "底部对齐[&B]",                ID_MODIFY_ARRANGE_BOTTOM
  341.             MENUITEM SEPARATOR
  342.             MENUITEM "同心对齐[&A]",                ID_MODIFY_ARRANGE_ORIGINONPOINT
  343.             MENUITEM "圆心对齐[&G]",                ID_MODIFY_ARRANGE_ORIGINONLINE
  344.         END
  345.         MENUITEM SEPARATOR
  346.         MENUITEM "复制[&C]",                    ID_MODIFY_COPY
  347.         MENUITEM "偏移[&E]",                    ID_MODIFY_EXCURSION
  348.         MENUITEM "镜像[&M]",                    ID_MODIFY_MIRROR
  349.         MENUITEM SEPARATOR
  350.         MENUITEM "移动[&O]",                    ID_MODIFY_MOVE
  351.         MENUITEM "旋转[&R]",                    ID_MODIFY_ROTATE
  352.         MENUITEM SEPARATOR
  353.         MENUITEM "修剪[&U]",                    ID_MODIFY_CUT
  354.         MENUITEM "延伸[&L]",                    ID_MODIFY_LENGTHENTO
  355.         MENUITEM "修角[&A]",                    ID_MODIFY_CUTTOANGLE
  356.         MENUITEM "相交[&J]",                    ID_MODIFY_JOIN
  357.         MENUITEM "垂直[&V]",                    ID_MODIFY_VERTICAL
  358.     END
  359.     MENUITEM "标注[&L]",                    ID_FORMAT_PENCOLOR
  360.     POPUP "工具[&T]"
  361.     BEGIN
  362.         MENUITEM "特殊点捕捉[&S]",              ID_TOOL_SNAPDOT
  363.         MENUITEM "选取设置[&E]",                ID_TOOL_SELECT
  364.     END
  365.     POPUP "格式[&S]"
  366.     BEGIN
  367.         MENUITEM "图层[&L]...",                 ID_FORMAT_LAYER
  368.         MENUITEM "线形[&S]",                    ID_FORMAT_LINESTYLE
  369.         MENUITEM "颜色[&C]",                    ID_FORMAT_PENCOLOR
  370.         MENUITEM SEPARATOR
  371.         MENUITEM "图纸属性...[&S]",             ID_FORMAT_DRAWINGATTRIBUTE
  372.     END
  373.     POPUP "数据管理[&M]"
  374.     BEGIN
  375.         MENUITEM "统计表[&T]",                  ID_MANAGE_TABLE
  376.     END
  377.     POPUP "窗口(&W)"
  378.     BEGIN
  379.         MENUITEM "层叠(&C)",                    ID_WINDOW_CASCADE
  380.         MENUITEM "平铺(&T)",                    ID_WINDOW_TILE_HORZ
  381.         MENUITEM "排列图标(&A)",                ID_WINDOW_ARRANGE
  382.     END
  383.     POPUP "帮助(&H)"
  384.     BEGIN
  385.         MENUITEM "帮助主题(&H)",                ID_HELP_FINDER
  386.         MENUITEM SEPARATOR
  387.         MENUITEM "关于 MiniCAD(&A)...",         ID_APP_ABOUT
  388.     END
  389. END
  390. IDR_POPUP_LAYER MENU DISCARDABLE 
  391. BEGIN
  392.     POPUP "POPUP"
  393.     BEGIN
  394.         MENUITEM "删除",                        ID_LAYER_DELETE
  395.         MENUITEM SEPARATOR
  396.         MENUITEM "当前",                        ID_LAYER_CURRENT
  397.         MENUITEM "显示",                        ID_LAYER_SHOW
  398.         MENUITEM "隐藏",                        ID_LAYER_HIDE
  399.         MENUITEM "锁定",                        ID_LAYER_LOCK
  400.         MENUITEM "解锁",                        ID_LAYER_UNLOCK
  401.         MENUITEM SEPARATOR
  402.         MENUITEM "属性",                        ID_LAYER_ATTRIBUTE
  403.     END
  404. END
  405. IDR_POPUP_PROJECT MENU DISCARDABLE 
  406. BEGIN
  407.     POPUP "POPUP"
  408.     BEGIN
  409.         MENUITEM "新建图纸",                    ID_FILE_NEWFTOP
  410.         MENUITEM "打开图纸",                    ID_FILE_OPENFTOP
  411.         MENUITEM SEPARATOR
  412.         MENUITEM "属性",                        ID_FILE_PROJECTATTRIBUTE
  413.     END
  414. END
  415. IDR_POPUP_DRAWING MENU DISCARDABLE 
  416. BEGIN
  417.     POPUP "POPUP"
  418.     BEGIN
  419.         MENUITEM "删除",                        ID_FILE_DELFFROMP
  420.         MENUITEM SEPARATOR
  421.         MENUITEM "增加图层",                    ID_FILE_ADDLAYER
  422.         MENUITEM SEPARATOR
  423.         MENUITEM "属性",                        ID_FILE_FILEATTRIBUTE
  424.     END
  425. END
  426. /////////////////////////////////////////////////////////////////////////////
  427. //
  428. // Accelerator
  429. //
  430. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  431. BEGIN
  432.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  433.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  434.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  435.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  436.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  437.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  438.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  439.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  440.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  441.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  442.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  443.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  444.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  445.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  446.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT
  447.     VK_F1,          ID_HELP,                VIRTKEY 
  448. END
  449. /////////////////////////////////////////////////////////////////////////////
  450. //
  451. // Dialog
  452. //
  453. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 280, 199
  454. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  455. CAPTION "关于 MiniCAD"
  456. FONT 9, "宋体"
  457. BEGIN
  458.     LTEXT           "MiniCAD 0.02.010 版",IDC_STATIC,53,14,77,8,SS_NOPREFIX
  459.     DEFPUSHBUTTON   "确定",IDOK,223,7,50,14,WS_GROUP
  460.     LTEXT           "作者信箱: xxsy@263.net",IDC_STATIC,53,178,102,11
  461.     ICON            IDR_MAINFRAME,IDC_STATIC,19,13,20,20
  462.     LTEXT           "版权所有,1999",IDC_STATIC,53,145,66,10
  463.     LTEXT           "作者:肖诗源",IDC_STATIC,53,28,71,11
  464.     LTEXT           "软件主页: http://www.whlug.clinux.org",IDC_STATIC,53,
  465.                     161,152,11
  466.     EDITTEXT        IDC_LICENCE,55,48,167,85,ES_MULTILINE | ES_READONLY | 
  467.                     WS_VSCROLL
  468. END
  469. IDD_MYWORKBAR DIALOGEX 0, 0, 119, 340
  470. STYLE WS_CHILD
  471. FONT 8, "MS Sans Serif", 0, 0, 0x1
  472. BEGIN
  473.     CONTROL         "Tab1",IDC_TAB,"SysTabControl32",0x0,3,6,113,251
  474.     CONTROL         "List1",IDC_LIST,"SysListView32",LVS_AUTOARRANGE | 
  475.                     WS_BORDER | WS_TABSTOP,5,32,109,217
  476.     CONTROL         "Tree1",IDC_TREE,"SysTreeView32",TVS_HASBUTTONS | 
  477.                     TVS_HASLINES | TVS_LINESATROOT | TVS_EDITLABELS | 
  478.                     WS_BORDER | WS_TABSTOP,5,32,109,217,WS_EX_CLIENTEDGE
  479. END
  480. IDD_MYCOMMANDBAR DIALOG DISCARDABLE  0, 0, 394, 32
  481. STYLE WS_CHILD
  482. FONT 8, "MS Sans Serif"
  483. BEGIN
  484.     EDITTEXT        IDC_EDIT2,39,0,266,19,ES_MULTILINE | ES_WANTRETURN | 
  485.                     WS_VSCROLL
  486.     EDITTEXT        IDC_EDIT3,39,18,266,12,ES_MULTILINE
  487. END
  488. IDD_MYNEWFILE DIALOGEX 0, 0, 300, 191
  489. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | WS_SYSMENU
  490. CAPTION "图纸"
  491. FONT 10, "System", 0, 0, 0x1
  492. BEGIN
  493.     EDITTEXT        IDC_DOCUMENT_NAME,20,40,129,14,ES_MULTILINE | 
  494.                     ES_AUTOVSCROLL
  495.     EDITTEXT        IDC_DOCUMENT_FILENAME,20,100,129,13,ES_AUTOHSCROLL
  496.     CONTROL         "A0: 1189 x 841",IDC_RADIO0,"Button",BS_AUTORADIOBUTTON | 
  497.                     WS_GROUP,201,33,74,8
  498.     CONTROL         "A1: 841 x 594",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
  499.                     201,44,74,9
  500.     CONTROL         "A2: 594 x 420",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,
  501.                     201,56,76,8
  502.     CONTROL         "A3: 420 x 297",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,
  503.                     201,67,74,8
  504.     CONTROL         "A4: 210 x 297",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,
  505.                     201,78,76,8
  506.     CONTROL         "自定义",IDC_RADIO5,"Button",BS_AUTORADIOBUTTON,201,89,
  507.                     77,9
  508.     EDITTEXT        IDC_EDIT4,192,123,38,12,ES_AUTOHSCROLL | WS_DISABLED
  509.     EDITTEXT        IDC_EDIT5,242,123,38,12,ES_AUTOHSCROLL | WS_DISABLED
  510.     CONTROL         "使用模板",IDC_TEMPLATECHECK,"Button",BS_AUTOCHECKBOX | 
  511.                     WS_TABSTOP,217,143,48,10
  512.     EDITTEXT        IDC_DOCUMENT_PATH,20,161,129,12,ES_AUTOHSCROLL
  513.     PUSHBUTTON      "浏览...",IDC_BROWSE,155,159,31,14,0,WS_EX_RTLREADING
  514.     LTEXT           "图纸名:",IDC_STATIC,20,30,41,10
  515.     LTEXT           "文件路径:",IDC_STATIC,20,149,66,12
  516.     LTEXT           "图纸文件名:",IDC_STATIC,20,88,49,9
  517.     GROUPBOX        "选择图纸幅面:",IDC_STATIC,190,22,89,85
  518.     LTEXT           "幅面:",IDC_STATIC,192,112,26,10
  519.     LTEXT           "x",IDC_STATIC,232,124,8,8
  520.     PUSHBUTTON      "打开",IDC_OPENTEMPLATE,217,160,41,13,WS_DISABLED
  521. END
  522. IDD_MYNEWPROJECT DIALOGEX 0, 0, 222, 177
  523. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  524. CAPTION "项目"
  525. FONT 10, "System", 0, 0, 0x1
  526. BEGIN
  527.     LTEXT           "项目名称:",IDC_STATIC,20,17,46,9
  528.     EDITTEXT        IDC_PROJECT_NAME,20,27,130,14,ES_MULTILINE | 
  529.                     ES_AUTOVSCROLL
  530.     LTEXT           "存放路径:",IDC_STATIC,19,96,43,8
  531.     EDITTEXT        IDC_PROJECT_PATH,20,114,130,12,ES_AUTOHSCROLL | 
  532.                     ES_WANTRETURN
  533.     PUSHBUTTON      "浏览...",IDC_BROWSE,157,114,37,13,0,WS_EX_RTLREADING
  534.     EDITTEXT        IDC_PROJECT_FILENAME,19,67,130,13,ES_AUTOHSCROLL
  535.     LTEXT           "文件名:",IDC_STATIC,20,54,41,8
  536.     PUSHBUTTON      "确认",IDOK,20,150,37,13
  537.     PUSHBUTTON      "取消",IDCANCEL,113,150,37,13
  538. END
  539. IDD_CHOOSE_DIR DIALOGEX 0, 0, 210, 154
  540. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  541. CAPTION "选择目录 "
  542. FONT 10, "System", 0, 0, 0x1
  543. BEGIN
  544.     DEFPUSHBUTTON   "确认",IDOK,177,25,26,14
  545.     PUSHBUTTON      "取消",IDCANCEL,177,57,26,14
  546.     EDITTEXT        IDC_PATH,17,7,149,13,ES_AUTOHSCROLL
  547.     CONTROL         "Tree1",IDC_DIRECTORY,"SysTreeView32",TVS_HASBUTTONS | 
  548.                     TVS_HASLINES | TVS_LINESATROOT | WS_BORDER | WS_TABSTOP,
  549.                     17,26,149,121,WS_EX_CLIENTEDGE
  550. END
  551. IDD_MYADDFILE DIALOG DISCARDABLE  0, 0, 249, 192
  552. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  553. CAPTION "增加图纸到项目"
  554. FONT 10, "System"
  555. BEGIN
  556.     EDITTEXT        IDC_NAME,20,30,80,14,ES_MULTILINE | ES_AUTOVSCROLL
  557.     EDITTEXT        IDC_FILENAME,20,68,80,13,ES_AUTOHSCROLL
  558.     CONTROL         "A0: 1189 x 841",IDC_RADIO0,"Button",BS_AUTORADIOBUTTON | 
  559.                     WS_GROUP,158,33,74,8
  560.     CONTROL         "A1: 841 x 594",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,
  561.                     158,44,74,9
  562.     CONTROL         "A2: 594 x 420",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,
  563.                     158,56,76,8
  564.     CONTROL         "A3: 420 x 297",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,
  565.                     158,67,74,8
  566.     CONTROL         "A4: 210 x 297",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,
  567.                     158,78,76,8
  568.     CONTROL         "自定义",IDC_RADIO5,"Button",BS_AUTORADIOBUTTON,158,89,
  569.                     77,9
  570.     EDITTEXT        IDC_EDIT4,147,122,38,12,ES_AUTOHSCROLL | WS_DISABLED
  571.     EDITTEXT        IDC_EDIT5,199,122,36,12,ES_AUTOHSCROLL | WS_DISABLED
  572.     CONTROL         "使用模板",IDC_TEMPLATECHECK,"Button",BS_AUTOCHECKBOX | 
  573.                     WS_TABSTOP,175,142,48,10
  574.     PUSHBUTTON      "确认",IDOK,20,164,41,13
  575.     PUSHBUTTON      "取消",IDCANCEL,80,164,41,13
  576.     LTEXT           "图纸名:",IDC_STATIC,20,20,41,10
  577.     LTEXT           "图纸文件名:",IDC_STATIC,20,55,49,9
  578.     GROUPBOX        "选择图纸幅面:",IDC_STATIC,146,21,89,85
  579.     LTEXT           "幅面:",IDC_STATIC,147,110,26,10
  580.     LTEXT           "x",IDC_STATIC,190,123,8,8
  581.     PUSHBUTTON      "打开",IDC_OPENTEMPLATE,175,159,41,13,WS_DISABLED
  582.     EDITTEXT        IDC_FILEPATH,20,121,80,13,ES_AUTOHSCROLL
  583.     LTEXT           "文件路径:",IDC_STATIC,20,104,51,9
  584.     PUSHBUTTON      "浏览...",IDC_BROWSE,106,121,28,13
  585. END
  586. IDD_MYOPTIONBAR DIALOG DISCARDABLE  0, 0, 495, 19
  587. STYLE WS_CHILD
  588. FONT 8, "MS Sans Serif"
  589. BEGIN
  590.     CONTROL         "",IDC_COLOR,"ComboBoxEx32",CBS_DROPDOWNLIST | CBS_SORT | 
  591.                     WS_VSCROLL | WS_TABSTOP,264,2,55,99
  592.     CONTROL         "",IDC_LINESTYLE,"ComboBoxEx32",CBS_DROPDOWNLIST | 
  593.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP,325,2,99,76
  594.     COMBOBOX        IDC_PROPORTION,445,2,46,84,CBS_DROPDOWN | WS_VSCROLL | 
  595.                     WS_TABSTOP
  596. END
  597. IDD_MYNEWCOMPONENT DIALOGEX 0, 0, 300, 180
  598. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | WS_SYSMENU
  599. CAPTION "元件"
  600. FONT 10, "System", 0, 0, 0x1
  601. BEGIN
  602.     LTEXT           "元件名称:",IDC_STATIC,20,31,46,9
  603.     EDITTEXT        IDC_PROJECT_NAME,20,40,130,14,ES_MULTILINE | 
  604.                     ES_AUTOVSCROLL
  605.     LTEXT           "存放路径:",IDC_STATIC,20,149,43,8
  606.     EDITTEXT        IDC_PROJECT_PATH,20,161,130,12,ES_AUTOHSCROLL | 
  607.                     ES_WANTRETURN
  608.     PUSHBUTTON      "浏览...",IDC_BROWSE,158,159,31,14,0,WS_EX_RTLREADING
  609.     EDITTEXT        IDC_PROJECT_FILENAME,20,100,130,13,ES_AUTOHSCROLL
  610.     LTEXT           "文件名:",IDC_STATIC,20,88,41,8
  611. END
  612. IDD_DRAWING_ATTRIBUTE DIALOG DISCARDABLE  0, 0, 213, 128
  613. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  614. CAPTION "图纸属性"
  615. FONT 10, "System"
  616. BEGIN
  617.     DEFPUSHBUTTON   "确认",IDOK,156,7,50,14
  618.     PUSHBUTTON      "取消",IDCANCEL,156,24,50,14
  619.     LTEXT           "图纸名:",IDC_STATIC,7,14,35,11
  620.     EDITTEXT        IDC_FILENAME,7,28,54,13,ES_AUTOHSCROLL
  621.     LTEXT           "图纸尺寸:",IDC_FILESIZE,7,54,40,10
  622.     EDITTEXT        IDC_EDIT2,7,71,53,13,ES_AUTOHSCROLL
  623.     EDITTEXT        IDC_EDIT3,75,71,45,14,ES_AUTOHSCROLL
  624.     LTEXT           "X",IDC_STATIC,65,73,8,9
  625.     LTEXT           "图纸文件名:",IDC_STATIC,7,94,50,10
  626.     EDITTEXT        IDC_EDIT4,7,107,53,14,ES_AUTOHSCROLL
  627. END
  628. IDD_SELECT_PARAMETER DIALOG DISCARDABLE  0, 0, 200, 117
  629. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  630. CAPTION "设置选取参数"
  631. FONT 10, "System"
  632. BEGIN
  633.     DEFPUSHBUTTON   "确认",IDOK,143,7,50,14
  634.     PUSHBUTTON      "取消",IDCANCEL,143,24,50,14
  635.     LTEXT           "选取范围(单位:象素)",IDC_STATIC,14,16,88,11
  636.     CONTROL         "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | 
  637.                     TBS_NOTICKS | WS_TABSTOP,7,30,100,16
  638.     LTEXT           "选中方格尺寸(单位:象素)",IDC_STATIC,13,60,109,12
  639.     CONTROL         "Slider2",IDC_SLIDER2,"msctls_trackbar32",TBS_BOTH | 
  640.                     TBS_NOTICKS | WS_TABSTOP,7,75,100,15
  641. END
  642. IDD_MANAGELAYER DIALOGEX 0, 0, 239, 147
  643. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  644. CAPTION "图层管理"
  645. FONT 10, "System", 0, 0, 0x1
  646. BEGIN
  647.     DEFPUSHBUTTON   "确认",IDOK,64,128,23,12
  648.     PUSHBUTTON      "取消",IDCANCEL,131,129,22,11
  649.     CONTROL         "List1",IDC_LAYERLIST,"SysListView32",LVS_REPORT | 
  650.                     LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_EDITLABELS | 
  651.                     LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,7,19,197,101,
  652.                     WS_EX_CLIENTEDGE
  653.     PUSHBUTTON      "新建",IDC_NEW,208,33,22,13
  654.     PUSHBUTTON      "删除",IDC_DELETE,208,58,23,13
  655.     LTEXT           "",IDC_NAME,50,8,153,11
  656.     LTEXT           "图纸名称:",IDC_STATIC,7,8,40,11
  657. END
  658. IDD_LAYER_ATTRIBUTE DIALOG DISCARDABLE  0, 0, 187, 98
  659. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  660. CAPTION "图层属性"
  661. FONT 10, "System"
  662. BEGIN
  663.     DEFPUSHBUTTON   "OK",IDOK,130,7,50,14
  664.     PUSHBUTTON      "Cancel",IDCANCEL,130,24,50,14
  665.     EDITTEXT        IDC_LAYERNAME,7,24,64,14,ES_AUTOHSCROLL
  666.     LTEXT           "图层名:",IDC_STATIC,7,10,34,10
  667. END
  668. IDD_PROJECT_ATTRIBUTE DIALOG DISCARDABLE  0, 0, 187, 98
  669. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  670. CAPTION "项目属性"
  671. FONT 10, "System"
  672. BEGIN
  673.     DEFPUSHBUTTON   "OK",IDOK,130,7,50,14
  674.     PUSHBUTTON      "Cancel",IDCANCEL,130,24,50,14
  675.     LTEXT           "项目名:",IDC_STATIC,9,8,42,9
  676.     EDITTEXT        IDC_EDIT1,7,21,47,14,ES_AUTOHSCROLL
  677.     LTEXT           "项目文件名:",IDC_STATIC,7,62,55,10
  678.     EDITTEXT        IDC_EDIT2,7,72,47,13,ES_AUTOHSCROLL
  679. END
  680. #ifndef _MAC
  681. /////////////////////////////////////////////////////////////////////////////
  682. //
  683. // Version
  684. //
  685. VS_VERSION_INFO VERSIONINFO
  686.  FILEVERSION 0,0,0,0
  687.  PRODUCTVERSION 1,0,0,1
  688.  FILEFLAGSMASK 0x3fL
  689. #ifdef _DEBUG
  690.  FILEFLAGS 0x1L
  691. #else
  692.  FILEFLAGS 0x0L
  693. #endif
  694.  FILEOS 0x4L
  695.  FILETYPE 0x1L
  696.  FILESUBTYPE 0x0L
  697. BEGIN
  698.     BLOCK "StringFileInfo"
  699.     BEGIN
  700.         BLOCK "080404b0"
  701.         BEGIN
  702.             VALUE "Comments", ""
  703.             VALUE "CompanyName", ""
  704.             VALUE "FileDescription", "MiniCAD Microsoft 基础类应用程序"
  705.             VALUE "FileVersion", "0, 0, 0, 0"
  706.             VALUE "InternalName", "MiniCAD"
  707.             VALUE "LegalCopyright", "版权所有 (C) 1999"
  708.             VALUE "LegalTrademarks", ""
  709.             VALUE "OriginalFilename", "MiniCAD.EXE"
  710.             VALUE "PrivateBuild", ""
  711.             VALUE "ProductName", "MiniCAD 应用程序"
  712.             VALUE "ProductVersion", "0.2.001"
  713.             VALUE "SpecialBuild", ""
  714.         END
  715.     END
  716.     BLOCK "VarFileInfo"
  717.     BEGIN
  718.         VALUE "Translation", 0x804, 1200
  719.     END
  720. END
  721. #endif    // !_MAC
  722. /////////////////////////////////////////////////////////////////////////////
  723. //
  724. // DESIGNINFO
  725. //
  726. #ifdef APSTUDIO_INVOKED
  727. GUIDELINES DESIGNINFO DISCARDABLE 
  728. BEGIN
  729.     IDD_ABOUTBOX, DIALOG
  730.     BEGIN
  731.         LEFTMARGIN, 7
  732.         RIGHTMARGIN, 273
  733.         TOPMARGIN, 7
  734.         BOTTOMMARGIN, 192
  735.     END
  736.     IDD_MYWORKBAR, DIALOG
  737.     BEGIN
  738.         RIGHTMARGIN, 111
  739.         BOTTOMMARGIN, 272
  740.     END
  741.     IDD_MYCOMMANDBAR, DIALOG
  742.     BEGIN
  743.         RIGHTMARGIN, 373
  744.     END
  745.     IDD_MYNEWFILE, DIALOG
  746.     BEGIN
  747.         LEFTMARGIN, 7
  748.         RIGHTMARGIN, 293
  749.         VERTGUIDE, 20
  750.         VERTGUIDE, 149
  751.         TOPMARGIN, 7
  752.         BOTTOMMARGIN, 184
  753.         HORZGUIDE, 40
  754.         HORZGUIDE, 100
  755.     END
  756.     IDD_MYNEWPROJECT, DIALOG
  757.     BEGIN
  758.         LEFTMARGIN, 7
  759.         RIGHTMARGIN, 215
  760.         VERTGUIDE, 20
  761.         VERTGUIDE, 150
  762.         TOPMARGIN, 7
  763.         BOTTOMMARGIN, 170
  764.         HORZGUIDE, 41
  765.         HORZGUIDE, 100
  766.     END
  767.     IDD_CHOOSE_DIR, DIALOG
  768.     BEGIN
  769.         LEFTMARGIN, 7
  770.         RIGHTMARGIN, 203
  771.         TOPMARGIN, 7
  772.         BOTTOMMARGIN, 147
  773.     END
  774.     IDD_MYADDFILE, DIALOG
  775.     BEGIN
  776.         LEFTMARGIN, 7
  777.         RIGHTMARGIN, 242
  778.         VERTGUIDE, 20
  779.         VERTGUIDE, 100
  780.         TOPMARGIN, 7
  781.         BOTTOMMARGIN, 185
  782.         HORZGUIDE, 30
  783.         HORZGUIDE, 96
  784.     END
  785.     IDD_MYOPTIONBAR, DIALOG
  786.     BEGIN
  787.         LEFTMARGIN, 7
  788.         BOTTOMMARGIN, 15
  789.     END
  790.     IDD_MYNEWCOMPONENT, DIALOG
  791.     BEGIN
  792.         LEFTMARGIN, 7
  793.         RIGHTMARGIN, 293
  794.         VERTGUIDE, 20
  795.         VERTGUIDE, 150
  796.         TOPMARGIN, 7
  797.         BOTTOMMARGIN, 173
  798.         HORZGUIDE, 40
  799.         HORZGUIDE, 100
  800.     END
  801.     IDD_DRAWING_ATTRIBUTE, DIALOG
  802.     BEGIN
  803.         LEFTMARGIN, 7
  804.         RIGHTMARGIN, 206
  805.         TOPMARGIN, 7
  806.         BOTTOMMARGIN, 121
  807.     END
  808.     IDD_SELECT_PARAMETER, DIALOG
  809.     BEGIN
  810.         LEFTMARGIN, 7
  811.         RIGHTMARGIN, 193
  812.         TOPMARGIN, 7
  813.         BOTTOMMARGIN, 110
  814.     END
  815.     IDD_MANAGELAYER, DIALOG
  816.     BEGIN
  817.         LEFTMARGIN, 7
  818.         RIGHTMARGIN, 231
  819.         TOPMARGIN, 2
  820.         BOTTOMMARGIN, 140
  821.     END
  822.     IDD_LAYER_ATTRIBUTE, DIALOG
  823.     BEGIN
  824.         LEFTMARGIN, 7
  825.         RIGHTMARGIN, 180
  826.         TOPMARGIN, 7
  827.         BOTTOMMARGIN, 91
  828.     END
  829.     IDD_PROJECT_ATTRIBUTE, DIALOG
  830.     BEGIN
  831.         LEFTMARGIN, 7
  832.         RIGHTMARGIN, 180
  833.         TOPMARGIN, 7
  834.         BOTTOMMARGIN, 91
  835.     END
  836. END
  837. #endif    // APSTUDIO_INVOKED
  838. /////////////////////////////////////////////////////////////////////////////
  839. //
  840. // Cursor
  841. //
  842. IDC_SELECTCUR           CURSOR  DISCARDABLE     "res\select.cur"
  843. IDC_DRAWCUR             CURSOR  DISCARDABLE     "res\drawcur.cur"
  844. IDC_SELECTCUR1          CURSOR  DISCARDABLE     "res\select1c.cur"
  845. /////////////////////////////////////////////////////////////////////////////
  846. //
  847. // Dialog Info
  848. //
  849. IDD_MYOPTIONBAR DLGINIT
  850. BEGIN
  851.     IDC_PROPORTION, 0x403, 5, 0
  852. 0x2e30, 0x3532, "00" 
  853.     IDC_PROPORTION, 0x403, 5, 0
  854. 0x2e30, 0x3035, "00" 
  855.     IDC_PROPORTION, 0x403, 5, 0
  856. 0x2e30, 0x3537, "00" 
  857.     IDC_PROPORTION, 0x403, 5, 0
  858. 0x2e31, 0x3030, "00" 
  859.     IDC_PROPORTION, 0x403, 5, 0
  860. 0x2e31, 0x3532, "00" 
  861.     IDC_PROPORTION, 0x403, 5, 0
  862. 0x2e31, 0x3035, "00" 
  863.     IDC_PROPORTION, 0x403, 5, 0
  864. 0x2e31, 0x3537, "00" 
  865.     IDC_PROPORTION, 0x403, 5, 0
  866. 0x2e32, 0x3030, "00" 
  867.     IDC_PROPORTION, 0x403, 5, 0
  868. 0x2e32, 0x3532, "00" 
  869.     IDC_PROPORTION, 0x403, 5, 0
  870. 0x2e32, 0x3035, "00" 
  871.     IDC_PROPORTION, 0x403, 5, 0
  872. 0x2e32, 0x3537, "00" 
  873.     IDC_PROPORTION, 0x403, 5, 0
  874. 0x2e33, 0x3030, "00" 
  875.     IDC_PROPORTION, 0x403, 5, 0
  876. 0x2e33, 0x3532, "00" 
  877.     IDC_PROPORTION, 0x403, 5, 0
  878. 0x2e33, 0x3035, "00" 
  879.     IDC_PROPORTION, 0x403, 5, 0
  880. 0x2e33, 0x3537, "00" 
  881.     IDC_PROPORTION, 0x403, 5, 0
  882. 0x2e34, 0x3030, "00" 
  883.     0
  884. END
  885. /////////////////////////////////////////////////////////////////////////////
  886. //
  887. // String Table
  888. //
  889. STRINGTABLE PRELOAD DISCARDABLE 
  890. BEGIN
  891.     IDR_MAINFRAME           "MiniCAD"
  892.     IDR_MINICATYPE          "nMiniCADnMiniCADnMiniCAD Files (*.drg)n.drgnMiniCAD.DocumentnMiniCAD Document"
  893. END
  894. STRINGTABLE PRELOAD DISCARDABLE 
  895. BEGIN
  896.     AFX_IDS_APP_TITLE       "MiniCAD"
  897.     AFX_IDS_IDLEMESSAGE     "如需帮助,请按F1键"
  898.     AFX_IDS_HELPMODEMESSAGE "选定一个要得到帮助的对象"
  899. END
  900. STRINGTABLE DISCARDABLE 
  901. BEGIN
  902.     ID_INDICATOR_EXT        "扩展名"
  903.     ID_INDICATOR_CAPS       "大写"
  904.     ID_INDICATOR_NUM        "数字"
  905.     ID_INDICATOR_SCRL       "滚动"
  906.     ID_INDICATOR_OVR        "改写"
  907.     ID_INDICATOR_REC        "记录"
  908. END
  909. STRINGTABLE DISCARDABLE 
  910. BEGIN
  911.     ID_FILE_NEW             "建立新的项目、图纸、或模板n新建"
  912.     ID_FILE_OPEN            "打开一个已有图纸或模板n打开"
  913.     ID_FILE_CLOSE           "关闭当前文档n关闭"
  914.     ID_FILE_SAVE            "保存活动文档n保存"
  915.     ID_FILE_SAVE_AS         "将活动文档以一个新文件名保存n另存为"
  916.     ID_FILE_PAGE_SETUP      "改变打印选项n页面设置"
  917.     ID_FILE_PRINT_SETUP     "改变打印机及打印选项n打印设置"
  918.     ID_FILE_PRINT           "打印活动文档n打印"
  919.     ID_FILE_PRINT_PREVIEW   "显示整页n打印预览"
  920. END
  921. STRINGTABLE DISCARDABLE 
  922. BEGIN
  923.     ID_APP_ABOUT            "显示程序信息,版本号和版权n关于"
  924.     ID_APP_EXIT             "退出应用程序;提示保存n退出"
  925.     ID_HELP_INDEX           "打开帮助n帮助主题"
  926.     ID_HELP_FINDER          "列出帮助主题n帮助主题"
  927.     ID_HELP_USING           "显示关于如何使用帮助的指令n帮助"
  928.     ID_CONTEXT_HELP         "显示对按钮、菜单和窗口执行单击操作的帮助n帮助"
  929.     ID_HELP                 "显示对当前任务或命令的帮助n帮助"
  930. END
  931. STRINGTABLE DISCARDABLE 
  932. BEGIN
  933.     ID_FILE_MRU_FILE1       "打开该文档"
  934.     ID_FILE_MRU_FILE2       "打开该项目"
  935.     ID_FILE_MRU_FILE3       "打开该文档"
  936.     ID_FILE_MRU_FILE4       "打开该文档"
  937.     ID_FILE_MRU_FILE5       "打开该文档"
  938.     ID_FILE_MRU_FILE6       "打开该文档"
  939.     ID_FILE_MRU_FILE7       "打开该文档"
  940.     ID_FILE_MRU_FILE8       "打开该文档"
  941.     ID_FILE_MRU_FILE9       "打开该文档"
  942.     ID_FILE_MRU_FILE10      "打开该文档"
  943.     ID_FILE_MRU_FILE11      "打开该文档"
  944.     ID_FILE_MRU_FILE12      "打开该文档"
  945.     ID_FILE_MRU_FILE13      "打开该文档"
  946.     ID_FILE_MRU_FILE14      "打开该文档"
  947.     ID_FILE_MRU_FILE15      "打开该文档"
  948.     ID_FILE_MRU_FILE16      "打开该文档"
  949. END
  950. STRINGTABLE DISCARDABLE 
  951. BEGIN
  952.     ID_NEXT_PANE            "切换到下一个窗格n下一窗格"
  953.     ID_PREV_PANE            "切换回前一个窗格n前一窗格"
  954. END
  955. STRINGTABLE DISCARDABLE 
  956. BEGIN
  957.     ID_WINDOW_NEW           "为活动文档打开另一个窗口n新建窗口"
  958.     ID_WINDOW_ARRANGE       "将图标排列在窗口底部n排列图标"
  959.     ID_WINDOW_CASCADE       "排列窗口成相互重叠n层叠窗口"
  960.     ID_WINDOW_TILE_HORZ     "排列窗口成互不重叠n平铺窗口"
  961.     ID_WINDOW_TILE_VERT     "排列窗口成互不重叠n平铺窗口"
  962.     ID_WINDOW_SPLIT         "将活动的窗口分隔成窗格n分隔"
  963. END
  964. STRINGTABLE DISCARDABLE 
  965. BEGIN
  966.     ID_EDIT_CLEAR           "删除被选对象n删除"
  967.     ID_EDIT_CLEAR_ALL       "全部删除n全部删除"
  968.     ID_EDIT_COPY            "复制被选对象并将其置于剪贴板上n复制"
  969.     ID_EDIT_CUT             "剪切被选对象并将其置于剪贴板上n剪切"
  970.     ID_EDIT_FIND            "查找指定的正文n查找"
  971.     ID_EDIT_PASTE           "插入剪贴板内容n粘贴"
  972.     ID_EDIT_REPEAT          "重复上一步操作n重复"
  973.     ID_EDIT_REPLACE         "用不同的正文替换指定的正文n替换"
  974.     ID_EDIT_SELECT_ALL      "选择整个文档n选择全部"
  975.     ID_EDIT_UNDO            "撤消最后一步操作n撤消"
  976.     ID_EDIT_REDO            "重新执行先前已撤消的操作n重新执行"
  977. END
  978. STRINGTABLE DISCARDABLE 
  979. BEGIN
  980.     ID_VIEW_TOOLBAR         "显示或隐藏工具栏n显隐工具栏"
  981.     ID_VIEW_STATUS_BAR      "显示或隐藏状态栏n显隐状态栏"
  982. END
  983. STRINGTABLE DISCARDABLE 
  984. BEGIN
  985.     AFX_IDS_SCSIZE          "改变窗口大小"
  986.     AFX_IDS_SCMOVE          "改变窗口位置"
  987.     AFX_IDS_SCMINIMIZE      "将窗口缩小成图标"
  988.     AFX_IDS_SCMAXIMIZE      "把窗口放大到最大尺寸"
  989.     AFX_IDS_SCNEXTWINDOW    "切换到下一个文档窗口"
  990.     AFX_IDS_SCPREVWINDOW    "切换到先前的文档窗口"
  991.     AFX_IDS_SCCLOSE         "关闭活动的窗口并提示保存所有文档"
  992. END
  993. STRINGTABLE DISCARDABLE 
  994. BEGIN
  995.     AFX_IDS_SCRESTORE       "把窗口恢复到正常大小"
  996.     AFX_IDS_SCTASKLIST      "激活任务表"
  997.     AFX_IDS_MDICHILD        "激活该窗口"
  998. END
  999. STRINGTABLE DISCARDABLE 
  1000. BEGIN
  1001.     AFX_IDS_PREVIEW_CLOSE   "关闭打印预览模式n取消预阅"
  1002. END
  1003. STRINGTABLE DISCARDABLE 
  1004. BEGIN
  1005.     ID_DRAW_LINE            "绘制直线n直线"
  1006.     ID_DRAW_RECT            "绘制矩形n矩形"
  1007. END
  1008. STRINGTABLE DISCARDABLE 
  1009. BEGIN
  1010.     ID_DRAW_CIRCLE          "绘制圆n圆"
  1011.     ID_DRAW_TEXT            "绘制文字n文字"
  1012.     ID_CHANGE_DELETE        "删除对象n删除"
  1013. END
  1014. STRINGTABLE DISCARDABLE 
  1015. BEGIN
  1016.     IDC_LINESTYLE           "设置直线的样式n设置线形"
  1017.     ID_FORMAT_COLOR         "设置绘图颜色n设置颜色"
  1018.     ID_VIEW_MYDRAWTOOLBAR   "显示或隐藏绘图工具条n显隐绘图条"
  1019.     ID_VIEW_COMPONENTLIST   "显示或隐藏元件库n显隐元件库"
  1020. END
  1021. STRINGTABLE DISCARDABLE 
  1022. BEGIN
  1023.     ID_VIEW_MYWORKBAR       "显示或隐藏工作区n显隐工作区"
  1024.     ID_VIEW_ZOOMOUT         "按比例放大当前图纸n比例放大"
  1025.     ID_VIEW_ZOOMIN          "按比例缩小当前图纸n比例缩小"
  1026. END
  1027. STRINGTABLE DISCARDABLE 
  1028. BEGIN
  1029.     ID_VIEW_MYOPTIONBAR     "显示或隐藏选项条n显隐选项条"
  1030.     ID_FORMAT_LINESTYLE     "设置直线的样式n设置线形"
  1031.     ID_VIEW_REDRAW          "全部重画当前视图n重画视图"
  1032.     ID_DRAW_SELECT          "选择要修改的对象n选择"
  1033.     ID_DRAW_ARC             "绘制圆弧n圆弧"
  1034.     ID_CHANGE_CUTFROM       "修剪对象超过选定基准的部分n修剪对象"
  1035. END
  1036. STRINGTABLE DISCARDABLE 
  1037. BEGIN
  1038.     IDC_COLOR               "设置绘图颜色n设置颜色"
  1039. END
  1040. STRINGTABLE DISCARDABLE 
  1041. BEGIN
  1042.     ID_FILE_CREATE          "建立新的项目、图纸、或模板n新建"
  1043.     ID_VIEW_FULL            "以全屏方式显示n全屏显示"
  1044.     ID_FILE_FILELIST        "选择该文件"
  1045. END
  1046. STRINGTABLE DISCARDABLE 
  1047. BEGIN
  1048.     ID_FILE_PROJECTLIST     "选择该项目"
  1049.     ID_FILE_NEWS            "建立新的项目、图纸、或模板n新建"
  1050.     ID_FILE_OPENP           "打开一个现有项目n打开项目"
  1051.     ID_FILE_OPENF           "打开一个已有图纸或模板n打开"
  1052.     ID_FILE_CLOSEF          "关闭当前文档n关闭"
  1053.     ID_FILE_ADDF            "增加图纸到当前项目n增加图纸"
  1054.     ID_FILE_SAVEP           "保存当前项目n保存项目"
  1055.     ID_FILE_CLOSEP          "关闭当前项目n关闭项目"
  1056. END
  1057. STRINGTABLE DISCARDABLE 
  1058. BEGIN
  1059.     ID_FILE_SAVEALL         "保存全部活动的文档n全部保存"
  1060.     ID_FILE_NEWP            "建立新的项目n新建项目"
  1061.     ID_FILE_NEWF            "建立新的图纸、模板n新建"
  1062.     ID_FILE_ADDFTOP         "增加图纸到当前项目n增加图纸"
  1063.     ID_FILE_NEWFTOP         "新建图纸到当前项目n新建图纸"
  1064.     ID_FILE_OPENFTOP        "打开图纸到当前项目n打开图纸"
  1065.     ID_FILE_SAVEF           "保存活动文档n保存"
  1066.     ID_FILE_SAVEF_AS        "将活动文档以一个新文件名保存n另存为"
  1067. END
  1068. STRINGTABLE DISCARDABLE 
  1069. BEGIN
  1070.     ID_DRAW_MULTILINE       "绘制多重平行线n多重平行线"
  1071.     ID_DRAW_ELLIPSE         "绘制椭圆n椭圆"
  1072.     ID_INSERT_COMPONENT     "插入预定义的元件n插入元件"
  1073.     ID_INSERT_IMAGE         "插入外部图像n插入图像"
  1074.     ID_DRAW_POLYGON         "绘制多边形n多边形"
  1075.     ID_DRAW_DOT             "绘制点n点"
  1076.     ID_DRAW_DEFINELINE      "绘制多义线n多义线"
  1077. END
  1078. STRINGTABLE DISCARDABLE 
  1079. BEGIN
  1080.     ID_MODIFY_DELETE        "删除对象n删除"
  1081.     ID_MODIFY_COPY          "复制对象n复制"
  1082.     ID_MODIFY_MIRROR        "以指定直线为对称线复制对象n镜像"
  1083.     ID_MODIFY_CUT           "修剪对象超过选定基准的部分n修剪"
  1084.     ID_MODIFY_LENGTHENTO    "延伸对象到指定的基准n延伸"
  1085.     ID_MODIFY_CUTTOANGLE    "修剪两相交直线(曲线)为角n修角"
  1086.     ID_MODIFY_JOIN          "延长两直线(曲线)使其正好相交n相交"
  1087.     ID_MODIFY_VERTICAL      "使两直线(曲线的切线)相互垂直n垂直"
  1088.     ID_MODIFY_EXCURSION     "同心偏移对象n偏移"
  1089. END
  1090. STRINGTABLE DISCARDABLE 
  1091. BEGIN
  1092.     ID_DRAW_CURVE           "绘制平滑曲线n平滑曲线"
  1093. END
  1094. STRINGTABLE DISCARDABLE 
  1095. BEGIN
  1096.     ID_MODIFY_ROTATE        "使对象旋转指定角度n旋转"
  1097.     ID_MODIFY_MOVE          "移动对象到指定位置n移动"
  1098.     ID_TOOL_SNAPDOT         "自动捕捉特殊点n特殊点捕捉"
  1099.     ID_VIEW_PAGESIZE        "设置图纸的属性n图纸属性"
  1100.     ID_FORMAT_DRAWINGATTRIBUTE "设置图纸的属性n图纸属性"
  1101.     ID_TOOL_SELECT          "设置选取参数n选取设置"
  1102.     ID_FORMAT_LAYER         "设置图层n图层"
  1103. END
  1104. STRINGTABLE DISCARDABLE 
  1105. BEGIN
  1106.     IDC_PROPORTION          "设置图形显示比例"
  1107. END
  1108. STRINGTABLE DISCARDABLE 
  1109. BEGIN
  1110.     ID_FILE_DELFFROMP       "从项目中删除图纸n删除图纸"
  1111.     ID_FILE_ADDLAYER        "给选定图纸增加图层n增加图层"
  1112.     ID_FILE_DELLAYER        "给选定图纸增加图层n增加图层"
  1113.     ID_LAYER_CURRENT        "将图层设置为当前图层n当前图层"
  1114.     ID_LAYER_DELETE         "删除选定的图层n删除图层"
  1115.     ID_FILE_FILEATTRIBUTE   "显示图纸属性n显示属性"
  1116.     ID_FILE_PROJECTATTRIBUTE "显示项目的属性n项目属性"
  1117.     ID_LAYER_ATTRIBUTE      "显示图层属性n图层属性"
  1118.     ID_VIEW_ZOOM            "实时缩小、放大视图n实时缩放"
  1119.     ID_MODIFY_ARRANGE_LEFT  "将图形对象左侧对齐n左侧对齐"
  1120.     ID_MODIFY_ARRANGE_RIGHT "将图形对象右侧对齐n右侧对齐"
  1121.     ID_MODIFY_ARRANGE_TOP   "将图形对象顶部对齐n顶部对齐"
  1122.     ID_MODIFY_ARRANGE_BOTTOM "将图形对象底部对齐n底部对齐"
  1123.     ID_MODIFY_ARRANGE_ORIGINONLINE 
  1124.                             "使图形对象的圆心对齐在一条直线上n圆心对齐"
  1125. END
  1126. STRINGTABLE DISCARDABLE 
  1127. BEGIN
  1128.     ID_MODIFY_ARRANGE_ORIGINONPOINT "使图形对象的圆心对齐在同一点上n同心对齐"
  1129. END
  1130. #endif    // Chinese (P.R.C.) resources
  1131. /////////////////////////////////////////////////////////////////////////////
  1132. #ifndef APSTUDIO_INVOKED
  1133. /////////////////////////////////////////////////////////////////////////////
  1134. //
  1135. // Generated from the TEXTINCLUDE 3 resource.
  1136. //
  1137. #define _AFX_NO_SPLITTER_RESOURCES
  1138. #define _AFX_NO_OLE_RESOURCES
  1139. #define _AFX_NO_TRACKER_RESOURCES
  1140. #define _AFX_NO_PROPERTY_RESOURCES
  1141. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  1142. #ifdef _WIN32
  1143. LANGUAGE 4, 2
  1144. #pragma code_page(936)
  1145. #endif //_WIN32
  1146. #include "resMiniCAD.rc2"  // non-Microsoft Visual C++ edited resources
  1147. #include "l.chsafxres.rc"          // Standard components
  1148. #include "l.chsafxprint.rc"        // printing/print preview resources
  1149. #include "l.chsafxdb.rc"           // Database resources
  1150. #endif
  1151. /////////////////////////////////////////////////////////////////////////////
  1152. #endif    // not APSTUDIO_INVOKED