draw.rc
上传用户:jndfzt02
上传日期:2007-04-25
资源大小:391k
文件大小:32k
源码类别:

GIS编程

开发平台:

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_PROPERTY_RESOURCESrn"
  37.     "rn"
  38.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  39.     "#ifdef _WIN32rn"
  40.     "LANGUAGE 9, 1rn"
  41.     "#pragma code_page(1252)rn"
  42.     "#endifrn"
  43.     "#include ""res\draw.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  44.     "#include ""afxres.rc""         // Standard componentsrn"
  45.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  46.     "#include ""afxolecl.rc""       // OLE container resourcesrn"
  47.     "#endif"
  48. END
  49. #endif    // APSTUDIO_INVOKED
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Menu
  53. //
  54. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  55. BEGIN
  56.     POPUP "文件(&F)"
  57.     BEGIN
  58.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  59.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  60.         MENUITEM SEPARATOR
  61.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  62.         MENUITEM SEPARATOR
  63.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  64.         MENUITEM SEPARATOR
  65.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  66.     END
  67.     POPUP "查看(&V)"
  68.     BEGIN
  69.         MENUITEM "工具栏(&T)",                  ID_VIEW_TOOLBAR
  70.         MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  71.         MENUITEM "显示数据表视图",              ID_VIEW_DATABASE
  72.     END
  73.     POPUP "帮助(&H)"
  74.     BEGIN
  75.         MENUITEM "帮助主题(&H)",                ID_HELP_FINDER
  76.         MENUITEM SEPARATOR
  77.         MENUITEM "关于 Draw(&A)...",            ID_APP_ABOUT
  78.     END
  79. END
  80. IDR_DRAWTYPE MENU PRELOAD DISCARDABLE 
  81. BEGIN
  82.     POPUP "文件(&F)"
  83.     BEGIN
  84.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  85.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  86.         MENUITEM "关闭(&C)",                    ID_FILE_CLOSE
  87.         MENUITEM "保存(&S)tCtrl+S",            ID_FILE_SAVE
  88.         MENUITEM "另存为(&A)...",               ID_FILE_SAVE_AS
  89.         MENUITEM SEPARATOR
  90.         MENUITEM "打印(&P)...tCtrl+P",         ID_FILE_PRINT
  91.         MENUITEM "打印预览(&V)",                ID_FILE_PRINT_PREVIEW
  92.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  93.         MENUITEM SEPARATOR
  94.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  95.         MENUITEM SEPARATOR
  96.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  97.     END
  98.     POPUP "鼠标绘图"
  99.     BEGIN
  100.         MENUITEM "直线",                        ID_DRAW_LINE
  101.         MENUITEM "连续直线",                    ID_DRAW_PLINE
  102.         MENUITEM "多边形区域",                  ID_DRAW_RGN
  103.         MENUITEM "圆",                          ID_DRAW_CIRCLE
  104.         MENUITEM "圆形区域",                    ID_DRAW_CIRCLE1
  105.         MENUITEM "圆弧",                        ID_DRAW_ARC
  106.         MENUITEM "标注文本",                    ID_DRAW_TEXT
  107.     END
  108.     POPUP "C图形操作"
  109.     BEGIN
  110.         MENUITEM "图形重画tAlt+R",             ID_GRAPH_REDRAW
  111.         MENUITEM "图形放大tAlt+Z",             ID_GRAPH_ZOOM
  112.         MENUITEM "图形移动tAlt+p",             ID_GRAPH_PAN
  113.         MENUITEM "重画上屏tAlt+UP",            ID_GRAPH_UP
  114.         MENUITEM "重画首屏tAlt+HOME",          ID_GRAPH_FIRST
  115.         MENUITEM "显示全图tAlt+A",             ID_GRAPH_ALL
  116.     END
  117.     POPUP "图形选中"
  118.     BEGIN
  119.         MENUITEM "&S鼠标点中",                  ID_SELECT_MOUSE
  120.         MENUITEM "&U放弃选中",                  ID_SELECT_CLEAR
  121.         MENUITEM "&D图形删除",                  ID_SELECT_DELETE
  122.         MENUITEM "&F性质查询",                  ID_DATA_SEACHER
  123.     END
  124.     POPUP "编辑(&E)"
  125.     BEGIN
  126.         MENUITEM "撤消(&U)tCtrl+Z",            ID_EDIT_UNDO
  127.         MENUITEM SEPARATOR
  128.         MENUITEM "剪切(&T)tCtrl+X",            ID_EDIT_CUT
  129.         MENUITEM "复制(&C)tCtrl+C",            ID_EDIT_COPY
  130.         MENUITEM "粘贴(&P)tCtrl+V",            ID_EDIT_PASTE
  131.         MENUITEM "选择性粘贴(&S)...",           ID_EDIT_PASTE_SPECIAL
  132.         MENUITEM SEPARATOR
  133.         MENUITEM "插入新对象(&N)...",           ID_OLE_INSERT_NEW
  134.         MENUITEM "链接(&K)...",                 ID_OLE_EDIT_LINKS
  135.         MENUITEM "<<用 OLE 谓词替换此处>>",     ID_OLE_VERB_FIRST
  136.     END
  137.     POPUP "查看(&V)"
  138.     BEGIN
  139.         MENUITEM "工具栏(&T)",                  ID_VIEW_TOOLBAR
  140.         MENUITEM "绘图工具条",                  ID_VIEW_TOOLBAR1
  141.         MENUITEM "显示数据表视图",              ID_VIEW_DATABASE
  142.         MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  143.     END
  144.     POPUP "窗口(&W)"
  145.     BEGIN
  146.         MENUITEM "新建窗口(&N)",                ID_WINDOW_NEW
  147.         MENUITEM "层叠(&C)",                    ID_WINDOW_CASCADE
  148.         MENUITEM "平铺(&T)",                    ID_WINDOW_TILE_HORZ
  149.         MENUITEM "排列图标(&A)",                ID_WINDOW_ARRANGE
  150.     END
  151.     POPUP "帮助(&H)"
  152.     BEGIN
  153.         MENUITEM "帮助主题(&H)",                ID_HELP_FINDER
  154.         MENUITEM SEPARATOR
  155.         MENUITEM "关于 Draw(&A)...",            ID_APP_ABOUT
  156.     END
  157. END
  158. IDR_DRAWTYPE_CNTR_IP MENU PRELOAD DISCARDABLE 
  159. BEGIN
  160.     POPUP "文件(&F)"
  161.     BEGIN
  162.         MENUITEM "新建(&N)tCtrl+N",            ID_FILE_NEW
  163.         MENUITEM "打开(&O)...tCtrl+O",         ID_FILE_OPEN
  164.         MENUITEM "关闭(&C)",                    ID_FILE_CLOSE
  165.         MENUITEM "保存(&S)tCtrl+S",            ID_FILE_SAVE
  166.         MENUITEM "另存为(&A)...",               ID_FILE_SAVE_AS
  167.         MENUITEM SEPARATOR
  168.         MENUITEM "打印(&P)...tCtrl+P",         ID_FILE_PRINT
  169.         MENUITEM "打印预览(&V)",                ID_FILE_PRINT_PREVIEW
  170.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  171.         MENUITEM SEPARATOR
  172.         MENUITEM "最近文件",                    ID_FILE_MRU_FILE1, GRAYED
  173.         MENUITEM SEPARATOR
  174.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  175.     END
  176.     MENUITEM SEPARATOR
  177.     MENUITEM SEPARATOR
  178.     POPUP "窗口(&W)"
  179.     BEGIN
  180.         MENUITEM "新建窗口(&N)",                ID_WINDOW_NEW
  181.         MENUITEM "层叠(&C)",                    ID_WINDOW_CASCADE
  182.         MENUITEM "平铺(&T)",                    ID_WINDOW_TILE_HORZ
  183.         MENUITEM "排列图标(&A)",                ID_WINDOW_ARRANGE
  184.     END
  185. END
  186. IDR_DRAWDATA MENU PRELOAD DISCARDABLE 
  187. BEGIN
  188.     POPUP "文件(&F)"
  189.     BEGIN
  190.         MENUITEM "&S选择数据对象...",           ID_FILE_SELECT
  191.         MENUITEM "打印设置(&R)...",             ID_FILE_PRINT_SETUP
  192.         MENUITEM SEPARATOR
  193.         MENUITEM SEPARATOR
  194.         MENUITEM "退出(&X)",                    ID_APP_EXIT
  195.     END
  196.     POPUP "记录操作"
  197.     BEGIN
  198.         MENUITEM "增加记录...",                 ID_RECORD_ADD
  199.         MENUITEM "修改记录...",                 ID_RECORD_MODIFY
  200.         MENUITEM "删除记录...",                 ID_RECORD_DELETE
  201.         MENUITEM "删除所有记录",                ID_RECORD_DELETE_ALL
  202.         MENUITEM "图形连接...",                 ID_RECORD_LINK
  203.     END
  204.     POPUP "查看(&V)"
  205.     BEGIN
  206.         MENUITEM "工具栏(&T)",                  ID_VIEW_TOOLBAR
  207.         MENUITEM "状态栏(&S)",                  ID_VIEW_STATUS_BAR
  208.     END
  209.     POPUP "过滤及排序"
  210.     BEGIN
  211.         MENUITEM "数据过滤...",                 ID_RECORD_FILTER
  212.         MENUITEM "数据排序...",                 ID_RECORD_SORT
  213.     END
  214.     POPUP "帮助(&H)"
  215.     BEGIN
  216.         MENUITEM "帮助主题(&H)",                ID_HELP_FINDER
  217.         MENUITEM SEPARATOR
  218.         MENUITEM "关于 Draw(&A)...",            ID_APP_ABOUT
  219.     END
  220. END
  221. /////////////////////////////////////////////////////////////////////////////
  222. //
  223. // Dialog
  224. //
  225. ID_WRITE_TEXT DIALOG DISCARDABLE  10, 10, 200, 38
  226. STYLE WS_POPUP | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CAPTION | WS_SYSMENU
  227. CAPTION "标注信息窗口"
  228. FONT 8, "System"
  229. BEGIN
  230.     DEFPUSHBUTTON   "确定",IDOK,9,19,37,13
  231.     PUSHBUTTON      "放弃",IDCANCEL,65,19,37,13
  232.     PUSHBUTTON      "字体参数",IDC_CS,121,19,36,13
  233.     LTEXT           "请输入标注的信息",IDC_BZ1,8,4,83,12
  234.     EDITTEXT        IDC_TEXT_EDIT1,92,2,100,12,ES_AUTOHSCROLL
  235. END
  236. ID_TEXT_FONT DIALOG DISCARDABLE  10, 10, 172, 84
  237. STYLE DS_MODALFRAME | WS_POPUP | WS_CLIPSIBLINGS | WS_CAPTION | WS_SYSMENU
  238. CAPTION "标注字体参数"
  239. FONT 8, "System"
  240. BEGIN
  241.     DEFPUSHBUTTON   "确定",IDOK,129,10,36,14
  242.     PUSHBUTTON      "放弃",IDCANCEL,129,32,36,13
  243.     LTEXT           "字体高度",BZCS_STATIC1,8,5,60,11
  244.     LTEXT           "字体宽度",BZCS_STATIC2,8,20,60,9
  245.     LTEXT           "标注角度",BZCS_STATIC3,8,35,60,12
  246.     LTEXT           "字体旋转角度",BZCS_STATIC4,8,50,60,11
  247.     LTEXT           "字体间距",BZCS_STATIC5,8,65,60,12
  248.     EDITTEXT        IDC_EDIT1,78,5,40,12,ES_AUTOHSCROLL
  249.     EDITTEXT        IDC_EDIT2,78,20,40,12,ES_AUTOHSCROLL
  250.     EDITTEXT        IDC_EDIT3,78,35,40,12,ES_AUTOHSCROLL
  251.     EDITTEXT        IDC_EDIT4,78,50,40,12,ES_AUTOHSCROLL
  252.     EDITTEXT        IDC_EDIT5,78,65,40,12,ES_AUTOHSCROLL
  253. END
  254. IDD_DIALOGBAR DIALOG DISCARDABLE  0, 0, 245, 12
  255. STYLE WS_CHILD
  256. FONT 10, "System"
  257. BEGIN
  258.     LTEXT           "线条宽度(像素)",IDC_STATIC,140,2,55,10
  259.     EDITTEXT        IDC_EDIT1,199,0,24,12,ES_AUTOHSCROLL
  260.     LTEXT           "线型",IDC_STATIC,16,2,19,10
  261.     COMBOBOX        IDC_COMBO1,42,0,91,66,CBS_DROPDOWN | WS_VSCROLL | 
  262.                     WS_TABSTOP
  263. END
  264. IDD_DATA1 DIALOG DISCARDABLE  0, 0, 262, 115
  265. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  266. CAPTION "Dialog"
  267. FONT 10, "System"
  268. BEGIN
  269.     DEFPUSHBUTTON   "Y保存退出",IDOK,134,89,50,14
  270.     PUSHBUTTON      "N放弃退出",IDCANCEL,193,89,50,14
  271.     LTEXT           "标识号",IDC_STATIC,7,19,27,10
  272.     EDITTEXT        IDC_EDIT1,36,18,40,12,ES_AUTOHSCROLL | ES_READONLY
  273.     LTEXT           "城市名称",IDC_STATIC,108,18,38,12
  274.     LTEXT           "人口数量",IDC_STATIC,6,40,38,12
  275.     LTEXT           "城市面积",IDC_STATIC,108,38,38,12
  276.     LTEXT           "工农业产值",IDC_STATIC,7,59,40,12
  277.     LTEXT           "交通状况",IDC_STATIC,107,60,38,10
  278.     EDITTEXT        IDC_EDIT2,149,17,69,12,ES_AUTOHSCROLL
  279.     EDITTEXT        IDC_EDIT3,52,38,49,12,ES_AUTOHSCROLL
  280.     EDITTEXT        IDC_EDIT4,149,38,54,12,ES_AUTOHSCROLL
  281.     EDITTEXT        IDC_EDIT5,53,58,48,12,ES_AUTOHSCROLL
  282.     EDITTEXT        IDC_EDIT6,148,58,57,12,ES_AUTOHSCROLL
  283.     DEFPUSHBUTTON   "A继续增加",ID_ADD,75,89,50,14
  284. END
  285. IDD_FILTER DIALOG DISCARDABLE  0, 0, 347, 221
  286. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  287. CAPTION "Dialog"
  288. FONT 10, "System"
  289. BEGIN
  290.     DEFPUSHBUTTON   "F查询",IDOK,270,138,50,14
  291.     PUSHBUTTON      "C放弃退出",IDCANCEL,271,158,50,14
  292.     COMBOBOX        IDC_COMBO1,220,80,68,77,CBS_DROPDOWNLIST | WS_VSCROLL | 
  293.                     WS_TABSTOP
  294.     LTEXT           "字段名称",IDC_STATIC,180,81,32,11
  295.     LISTBOX         IDC_LIST1,9,13,324,59,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  296.                     WS_TABSTOP
  297.     COMBOBOX        IDC_COMBO2,220,97,35,46,CBS_DROPDOWNLIST | WS_VSCROLL | 
  298.                     WS_TABSTOP
  299.     EDITTEXT        IDC_EDIT1,220,113,89,14,ES_AUTOHSCROLL
  300.     LTEXT           "操作符",IDC_STATIC,181,99,32,11
  301.     LTEXT           "操作值",IDC_STATIC,182,115,32,11
  302.     LISTBOX         IDC_LIST2,10,79,166,53,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  303.                     WS_TABSTOP
  304.     DEFPUSHBUTTON   "增加.OR.子式",ID_OR_ADD,14,140,53,14
  305.     DEFPUSHBUTTON   "增加.AND.子式",ID_AND_ADD,77,140,56,14
  306.     DEFPUSHBUTTON   "删除.OR.子式",ID_OR_DEL,13,158,53,14
  307.     DEFPUSHBUTTON   "删除.AND.子式",ID_AND_DEL,78,159,56,14
  308.     DEFPUSHBUTTON   "修改.OR.子式",ID_OR_MODIFY,143,140,53,14
  309.     EDITTEXT        IDC_EDIT2,14,179,318,29,ES_AUTOHSCROLL
  310. END
  311. IDD_SORT DIALOG DISCARDABLE  0, 0, 265, 149
  312. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  313. CAPTION "Dialog"
  314. FONT 10, "System"
  315. BEGIN
  316.     DEFPUSHBUTTON   "排序",IDOK,196,99,50,14
  317.     PUSHBUTTON      "放弃",IDCANCEL,196,119,50,14
  318.     LISTBOX         IDC_LIST1,12,33,69,61,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  319.                     WS_TABSTOP
  320.     LTEXT           "排序字段列表",IDC_STATIC,21,19,56,12
  321.     EDITTEXT        IDC_EDIT1,16,104,160,16,ES_AUTOHSCROLL
  322.     COMBOBOX        IDC_COMBO1,98,33,86,67,CBS_DROPDOWNLIST | WS_VSCROLL | 
  323.                     WS_TABSTOP
  324.     LTEXT           "字段名称",IDC_STATIC,99,20,50,9
  325.     PUSHBUTTON      "增加",IDC_SORT_ADD,99,56,47,13
  326.     CONTROL         "降序",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  327.                     203,34,41,10
  328.     PUSHBUTTON      "插入",IDC_SORT_INSERT,155,56,47,13
  329.     PUSHBUTTON      "修改",IDC_SORT_MODIFY,99,76,47,13
  330.     PUSHBUTTON      "删除",IDC_SORT_DELETE,155,76,47,13
  331. END
  332. IDD_LINK DIALOG DISCARDABLE  0, 0, 233, 181
  333. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  334. CAPTION "数据库与图形元素的连接"
  335. FONT 10, "System"
  336. BEGIN
  337.     DEFPUSHBUTTON   "保存退出",IDOK,104,152,46,14
  338.     PUSHBUTTON      "放弃退出",IDCANCEL,157,152,47,14
  339.     LTEXT           "连接方式",IDC_STATIC,104,25,42,12
  340.     LTEXT           "数据库类别",IDC_STATIC,103,41,42,12
  341.     LTEXT           "记录识别号",IDC_STATIC,103,60,43,11
  342.     LTEXT           "图形类别",IDC_STATIC,103,75,43,11
  343.     LTEXT           "元素识别号",IDC_STATIC,103,93,46,15
  344.     EDITTEXT        IDC_EDIT1,150,24,22,12,ES_AUTOHSCROLL | ES_READONLY
  345.     EDITTEXT        IDC_EDIT2,150,39,31,12,ES_AUTOHSCROLL | ES_READONLY
  346.     EDITTEXT        IDC_EDIT3,150,58,37,12,ES_AUTOHSCROLL | ES_READONLY
  347.     EDITTEXT        IDC_EDIT4,150,75,19,11,ES_AUTOHSCROLL | ES_READONLY
  348.     EDITTEXT        IDC_EDIT5,150,93,46,12,ES_AUTOHSCROLL | ES_READONLY
  349.     LTEXT           "已存在的连接",IDC_STATIC,32,11,51,10
  350.     LTEXT           "选中的图形元素",IDC_STATIC,23,83,64,11
  351.     LISTBOX         IDC_LIST1,13,23,79,53,LBS_MULTIPLESEL | 
  352.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  353.     LISTBOX         IDC_LIST2,15,96,78,71,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  354.                     WS_TABSTOP
  355.     PUSHBUTTON      "增加连接",IDC_LINK_ADD,102,113,46,13
  356.     PUSHBUTTON      "全部增加",IDC_LINK_ADDALL,156,113,46,13
  357.     PUSHBUTTON      "删除连接",IDC_LINK_DELETE,103,133,46,13
  358.     PUSHBUTTON      "全部删除",IDC_LINK_DELALL,157,133,46,13
  359. END
  360. IDD_SELECT_DATA DIALOG DISCARDABLE  0, 0, 119, 144
  361. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  362. CAPTION "Dialog"
  363. FONT 10, "System"
  364. BEGIN
  365.     DEFPUSHBUTTON   "确定",IDOK,12,121,35,14
  366.     PUSHBUTTON      "放弃",IDCANCEL,58,120,40,14
  367.     LISTBOX         IDC_LIST1,7,7,105,110,LBS_SORT | LBS_NOINTEGRALHEIGHT | 
  368.                     WS_VSCROLL | WS_TABSTOP
  369. END
  370. IDD_DATA_LINK DIALOG DISCARDABLE  0, 0, 201, 119
  371. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  372. CAPTION "图形元素的性质管理窗口"
  373. FONT 10, "System"
  374. BEGIN
  375.     DEFPUSHBUTTON   "退出",IDOK,132,78,50,14
  376.     LISTBOX         IDC_LIST1,10,23,105,75,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  377.                     WS_TABSTOP
  378.     LTEXT           "存在的数据连接",IDC_STATIC,32,10,60,12
  379.     PUSHBUTTON      "编辑数据",IDC_DATA_MODIFY,132,52,49,16
  380.     PUSHBUTTON      "删除连接",IDC_LINK_DELETE,132,27,49,16
  381. END
  382. /////////////////////////////////////////////////////////////////////////////
  383. //
  384. // Bitmap
  385. //
  386. IDR_TOOLBAR1            BITMAP  DISCARDABLE     "res\toolbar1.bmp"
  387. /////////////////////////////////////////////////////////////////////////////
  388. //
  389. // Toolbar
  390. //
  391. IDR_TOOLBAR1 TOOLBAR DISCARDABLE  16, 15
  392. BEGIN
  393.     BUTTON      ID_DRAW_LINE
  394.     BUTTON      ID_DRAW_PLINE
  395.     BUTTON      ID_DRAW_RGN
  396.     BUTTON      ID_DRAW_CIRCLE
  397.     BUTTON      ID_DRAW_CIRCLE1
  398.     BUTTON      ID_DRAW_ARC
  399.     BUTTON      ID_DRAW_TEXT
  400. END
  401. /////////////////////////////////////////////////////////////////////////////
  402. //
  403. // DESIGNINFO
  404. //
  405. #ifdef APSTUDIO_INVOKED
  406. GUIDELINES DESIGNINFO DISCARDABLE 
  407. BEGIN
  408.     IDD_DIALOGBAR, DIALOG
  409.     BEGIN
  410.         LEFTMARGIN, 7
  411.         RIGHTMARGIN, 238
  412.     END
  413.     IDD_DATA1, DIALOG
  414.     BEGIN
  415.         LEFTMARGIN, 7
  416.         RIGHTMARGIN, 255
  417.         TOPMARGIN, 7
  418.         BOTTOMMARGIN, 108
  419.     END
  420.     IDD_FILTER, DIALOG
  421.     BEGIN
  422.         LEFTMARGIN, 7
  423.         RIGHTMARGIN, 340
  424.         TOPMARGIN, 7
  425.         BOTTOMMARGIN, 214
  426.     END
  427.     IDD_SORT, DIALOG
  428.     BEGIN
  429.         LEFTMARGIN, 7
  430.         RIGHTMARGIN, 258
  431.         TOPMARGIN, 7
  432.         BOTTOMMARGIN, 142
  433.     END
  434.     IDD_LINK, DIALOG
  435.     BEGIN
  436.         LEFTMARGIN, 7
  437.         RIGHTMARGIN, 226
  438.         TOPMARGIN, 7
  439.         BOTTOMMARGIN, 174
  440.     END
  441.     IDD_SELECT_DATA, DIALOG
  442.     BEGIN
  443.         LEFTMARGIN, 7
  444.         RIGHTMARGIN, 112
  445.         TOPMARGIN, 7
  446.         BOTTOMMARGIN, 137
  447.     END
  448.     IDD_DATA_LINK, DIALOG
  449.     BEGIN
  450.         LEFTMARGIN, 7
  451.         RIGHTMARGIN, 194
  452.         TOPMARGIN, 7
  453.         BOTTOMMARGIN, 112
  454.     END
  455. END
  456. #endif    // APSTUDIO_INVOKED
  457. /////////////////////////////////////////////////////////////////////////////
  458. //
  459. // String Table
  460. //
  461. STRINGTABLE DISCARDABLE 
  462. BEGIN
  463.     ID_FILE_NEW             "建立新文档n新建"
  464.     ID_FILE_OPEN            "打开一个现有文档n打开"
  465.     ID_FILE_CLOSE           "关闭活动文档n关闭"
  466.     ID_FILE_SAVE            "保存活动文档n保存"
  467.     ID_FILE_SAVE_AS         "将活动文档以一个新文件名保存n另存为"
  468.     ID_FILE_PRINT_SETUP     "改变打印机及打印选项n打印设置"
  469.     ID_FILE_PRINT           "打印活动文档n打印"
  470.     ID_FILE_PRINT_PREVIEW   "显示整页n打印预览"
  471. END
  472. STRINGTABLE DISCARDABLE 
  473. BEGIN
  474.     ID_FILE_MRU_FILE1       "打开该文档"
  475. END
  476. STRINGTABLE DISCARDABLE 
  477. BEGIN
  478.     ID_APP_ABOUT            "显示程序信息,版本号和版权n关于"
  479.     ID_APP_EXIT             "退出应用程序;提示保存文档n退出"
  480.     ID_HELP_FINDER          "列出帮助主题n帮助主题"
  481. END
  482. STRINGTABLE DISCARDABLE 
  483. BEGIN
  484.     ID_EDIT_COPY            "复制被选对象并将其置于剪贴板上n复制"
  485.     ID_EDIT_CUT             "剪切被选对象并将其置于剪贴板上n剪切"
  486.     ID_EDIT_PASTE           "插入剪贴板内容n粘贴"
  487.     ID_EDIT_PASTE_SPECIAL   "用选项插入剪贴板内容n选择性粘贴"
  488.     ID_EDIT_UNDO            "撤消最后一步操作n撤消"
  489. END
  490. STRINGTABLE DISCARDABLE 
  491. BEGIN
  492.     ID_OLE_INSERT_NEW       "插入新嵌入的对象n新对象"
  493.     ID_OLE_EDIT_LINKS       "编辑链接对象n编辑链接"
  494. END
  495. STRINGTABLE DISCARDABLE 
  496. BEGIN
  497.     ID_OLE_VERB_FIRST       "激活嵌入或链接的对象"
  498. END
  499. STRINGTABLE DISCARDABLE 
  500. BEGIN
  501.     ID_VIEW_TOOLBAR         "显示或隐藏工具栏n显隐工具栏"
  502.     ID_VIEW_STATUS_BAR      "显示或隐藏状态栏n显隐状态栏"
  503. END
  504. STRINGTABLE DISCARDABLE 
  505. BEGIN
  506.     ID_WINDOW_NEW           "为活动文档打开另一个窗口n新建窗口"
  507.     ID_WINDOW_ARRANGE       "将图标排列在窗口底部n排列图标"
  508.     ID_WINDOW_CASCADE       "排列窗口成相互重叠n层叠窗口"
  509.     ID_WINDOW_TILE_HORZ     "排列窗口成互不重叠n平铺窗口"
  510. END
  511. #endif    // Chinese (P.R.C.) resources
  512. /////////////////////////////////////////////////////////////////////////////
  513. /////////////////////////////////////////////////////////////////////////////
  514. // English (U.S.) resources
  515. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  516. #ifdef _WIN32
  517. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  518. #pragma code_page(1252)
  519. #endif //_WIN32
  520. /////////////////////////////////////////////////////////////////////////////
  521. //
  522. // Dialog
  523. //
  524. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  525. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  526. CAPTION "About draw"
  527. FONT 8, "MS Sans Serif"
  528. BEGIN
  529.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  530.     LTEXT           "draw Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  531.     LTEXT           "Copyright (C) 1998",IDC_STATIC,40,25,119,8
  532.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  533. END
  534. /////////////////////////////////////////////////////////////////////////////
  535. //
  536. // Bitmap
  537. //
  538. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  539. /////////////////////////////////////////////////////////////////////////////
  540. //
  541. // Toolbar
  542. //
  543. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  544. BEGIN
  545.     BUTTON      ID_FILE_NEW
  546.     BUTTON      ID_FILE_OPEN
  547.     BUTTON      ID_FILE_SAVE
  548.     SEPARATOR
  549.     BUTTON      ID_EDIT_CUT
  550.     BUTTON      ID_EDIT_COPY
  551.     BUTTON      ID_EDIT_PASTE
  552.     SEPARATOR
  553.     BUTTON      ID_FILE_PRINT
  554.     BUTTON      ID_APP_ABOUT
  555.     BUTTON      ID_CONTEXT_HELP
  556. END
  557. /////////////////////////////////////////////////////////////////////////////
  558. //
  559. // DESIGNINFO
  560. //
  561. #ifdef APSTUDIO_INVOKED
  562. GUIDELINES DESIGNINFO DISCARDABLE 
  563. BEGIN
  564.     IDD_ABOUTBOX, DIALOG
  565.     BEGIN
  566.         LEFTMARGIN, 7
  567.         RIGHTMARGIN, 210
  568.         TOPMARGIN, 7
  569.         BOTTOMMARGIN, 48
  570.     END
  571. END
  572. #endif    // APSTUDIO_INVOKED
  573. /////////////////////////////////////////////////////////////////////////////
  574. //
  575. // Icon
  576. //
  577. // Icon with lowest ID value placed first to ensure application icon
  578. // remains consistent on all systems.
  579. IDR_MAINFRAME           ICON    DISCARDABLE     "res\draw.ico"
  580. IDR_DRAWTYPE            ICON    DISCARDABLE     "res\drawDoc.ico"
  581. /////////////////////////////////////////////////////////////////////////////
  582. //
  583. // Accelerator
  584. //
  585. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  586. BEGIN
  587.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  588.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  589.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  590.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  591.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
  592.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  593.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  594.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  595.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,    VIRTKEY, NOINVERT
  596.     VK_F1,          ID_HELP,                VIRTKEY, NOINVERT
  597.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT, NOINVERT
  598.     VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  599.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  600.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  601.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  602.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  603.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  604. END
  605. IDR_DRAWTYPE_CNTR_IP ACCELERATORS PRELOAD MOVEABLE PURE 
  606. BEGIN
  607.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  608.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  609.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  610.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  611.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  612.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  613.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY, SHIFT
  614.     VK_F1,          ID_HELP,                VIRTKEY 
  615.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,    VIRTKEY, NOINVERT
  616. END
  617. #ifndef _MAC
  618. /////////////////////////////////////////////////////////////////////////////
  619. //
  620. // Version
  621. //
  622. VS_VERSION_INFO VERSIONINFO
  623.  FILEVERSION 1,0,0,1
  624.  PRODUCTVERSION 1,0,0,1
  625.  FILEFLAGSMASK 0x3fL
  626. #ifdef _DEBUG
  627.  FILEFLAGS 0x1L
  628. #else
  629.  FILEFLAGS 0x0L
  630. #endif
  631.  FILEOS 0x4L
  632.  FILETYPE 0x1L
  633.  FILESUBTYPE 0x0L
  634. BEGIN
  635.     BLOCK "StringFileInfo"
  636.     BEGIN
  637.         BLOCK "040904b0"
  638.         BEGIN
  639.             VALUE "CompanyName", ""
  640.             VALUE "FileDescription", "draw MFC Application"
  641.             VALUE "FileVersion", "1, 0, 0, 1"
  642.             VALUE "InternalName", "draw"
  643.             VALUE "LegalCopyright", "Copyright (C) 1998"
  644.             VALUE "OriginalFilename", "draw.EXE"
  645.             VALUE "ProductName", "draw Application"
  646.             VALUE "ProductVersion", "1, 0, 0, 1"
  647.         END
  648.     END
  649.     BLOCK "VarFileInfo"
  650.     BEGIN
  651.         VALUE "Translation", 0x409, 1200
  652.     END
  653. END
  654. #endif    // !_MAC
  655. /////////////////////////////////////////////////////////////////////////////
  656. //
  657. // String Table
  658. //
  659. STRINGTABLE DISCARDABLE 
  660. BEGIN
  661.     IDP_OLE_INIT_FAILED     "OLE initialization failed.  Make sure that the OLE libraries are the correct version."
  662.     IDP_FAILED_TO_CREATE    "Failed to create object.  Make sure the object is entered in the system registry."
  663. END
  664. STRINGTABLE PRELOAD DISCARDABLE 
  665. BEGIN
  666.     IDR_MAINFRAME           "draw"
  667.     IDR_DRAWTYPE            "nDrawnDrawnnnDraw.DocumentnDraw Document"
  668. END
  669. STRINGTABLE PRELOAD DISCARDABLE 
  670. BEGIN
  671.     AFX_IDS_APP_TITLE       "draw"
  672.     AFX_IDS_IDLEMESSAGE     "For Help, press F1"
  673.     AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
  674. END
  675. STRINGTABLE DISCARDABLE 
  676. BEGIN
  677.     ID_INDICATOR_EXT        "EXT"
  678.     ID_INDICATOR_CAPS       "CAP"
  679.     ID_INDICATOR_NUM        "NUM"
  680.     ID_INDICATOR_SCRL       "SCRL"
  681.     ID_INDICATOR_OVR        "OVR"
  682.     ID_INDICATOR_REC        "REC"
  683. END
  684. STRINGTABLE DISCARDABLE 
  685. BEGIN
  686.     ID_FILE_NEW             "产生一个新文档nNew"
  687.     ID_FILE_OPEN            "Open an existing documentnOpen"
  688.     ID_FILE_CLOSE           "Close the active documentnClose"
  689.     ID_FILE_SAVE            "Save the active documentnSave"
  690.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  691.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  692.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  693.     ID_FILE_PRINT           "Print the active documentnPrint"
  694.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  695. END
  696. STRINGTABLE DISCARDABLE 
  697. BEGIN
  698.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  699.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  700.     ID_HELP_INDEX           "Opens HelpnHelp Topics"
  701.     ID_HELP_FINDER          "List Help topicsnHelp Topics"
  702.     ID_HELP_USING           "Display instructions about how to use helpnHelp"
  703.     ID_CONTEXT_HELP         "Display help for clicked on buttons, menus and windowsnHelp"
  704.     ID_HELP                 "Display help for current task or commandnHelp"
  705. END
  706. STRINGTABLE DISCARDABLE 
  707. BEGIN
  708.     ID_FILE_MRU_FILE1       "Open this document"
  709.     ID_FILE_MRU_FILE2       "Open this document"
  710.     ID_FILE_MRU_FILE3       "Open this document"
  711.     ID_FILE_MRU_FILE4       "Open this document"
  712.     ID_FILE_MRU_FILE5       "Open this document"
  713.     ID_FILE_MRU_FILE6       "Open this document"
  714.     ID_FILE_MRU_FILE7       "Open this document"
  715.     ID_FILE_MRU_FILE8       "Open this document"
  716.     ID_FILE_MRU_FILE9       "Open this document"
  717.     ID_FILE_MRU_FILE10      "Open this document"
  718.     ID_FILE_MRU_FILE11      "Open this document"
  719.     ID_FILE_MRU_FILE12      "Open this document"
  720.     ID_FILE_MRU_FILE13      "Open this document"
  721.     ID_FILE_MRU_FILE14      "Open this document"
  722.     ID_FILE_MRU_FILE15      "Open this document"
  723.     ID_FILE_MRU_FILE16      "Open this document"
  724. END
  725. STRINGTABLE DISCARDABLE 
  726. BEGIN
  727.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  728.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  729. END
  730. STRINGTABLE DISCARDABLE 
  731. BEGIN
  732.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  733.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  734.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  735.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  736.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  737.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  738. END
  739. STRINGTABLE DISCARDABLE 
  740. BEGIN
  741.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  742.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  743.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  744.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  745.     ID_EDIT_FIND            "Find the specified textnFind"
  746.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  747.     ID_EDIT_PASTE_LINK      "Insert Clipboard contents and a link to its sourcenPaste Link"
  748.     ID_EDIT_PASTE_SPECIAL   "Insert Clipboard contents with optionsnPaste Special"
  749.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  750.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  751.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  752.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  753.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  754. END
  755. STRINGTABLE DISCARDABLE 
  756. BEGIN
  757.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  758.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  759. END
  760. STRINGTABLE DISCARDABLE 
  761. BEGIN
  762.     ID_OLE_INSERT_NEW       "Insert new embedded objectnNew Object"
  763.     ID_OLE_EDIT_LINKS       "Edit linked objectsnEdit Links"
  764.     ID_OLE_EDIT_CONVERT     "Convert object to different typenConvert Object"
  765. END
  766. STRINGTABLE DISCARDABLE 
  767. BEGIN
  768.     ID_OLE_VERB_FIRST       "Activate embedded or linked object"
  769.     57873                   "Activate embedded or linked object"
  770.     57874                   "Activate embedded or linked object"
  771.     57875                   "Activate embedded or linked object"
  772. END
  773. STRINGTABLE DISCARDABLE 
  774. BEGIN
  775.     AFX_IDS_SCSIZE          "Change the window size"
  776.     AFX_IDS_SCMOVE          "Change the window position"
  777.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  778.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  779.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  780.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  781.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  782. END
  783. STRINGTABLE DISCARDABLE 
  784. BEGIN
  785.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  786.     AFX_IDS_SCTASKLIST      "Activate Task List"
  787.     AFX_IDS_MDICHILD        "Activate this window"
  788. END
  789. STRINGTABLE DISCARDABLE 
  790. BEGIN
  791.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  792. END
  793. STRINGTABLE DISCARDABLE 
  794. BEGIN
  795.     ID_TX_REDRAW            "图形重画"
  796. END
  797. STRINGTABLE DISCARDABLE 
  798. BEGIN
  799.     ID_TX_ZOOM              "用鼠标放大图形"
  800.     ID_TX_PAN               "用两点法移动图形"
  801.     ID_TX_UP                "绘制上一个屏幕内容"
  802.     ID_TX_FIRST             "重画第一屏的内容"
  803.     ID_TX_ALL               "重画全幅图"
  804.     ID_SELECT_CLEAR         "放弃选中的图形元素"
  805.     ID_SELECT_MOUSE         "用鼠标进行图形选择"
  806.     ID_SELECT_DELETE        "删除选择的图形元素"
  807.     ID_DELETE_UNDO          "恢复所有删除的图形"
  808. END
  809. #endif    // English (U.S.) resources
  810. /////////////////////////////////////////////////////////////////////////////
  811. #ifndef APSTUDIO_INVOKED
  812. /////////////////////////////////////////////////////////////////////////////
  813. //
  814. // Generated from the TEXTINCLUDE 3 resource.
  815. //
  816. #define _AFX_NO_SPLITTER_RESOURCES
  817. #define _AFX_NO_PROPERTY_RESOURCES
  818. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  819. #ifdef _WIN32
  820. LANGUAGE 9, 1
  821. #pragma code_page(1252)
  822. #endif
  823. #include "resdraw.rc2"  // non-Microsoft Visual C++ edited resources
  824. #include "afxres.rc"         // Standard components
  825. #include "afxprint.rc"       // printing/print preview resources
  826. #include "afxolecl.rc"       // OLE container resources
  827. #endif
  828. /////////////////////////////////////////////////////////////////////////////
  829. #endif    // not APSTUDIO_INVOKED