draw.rc
上传用户:y440e3
上传日期:2010-03-08
资源大小:200k
文件大小:30k
源码类别:

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