GandyDraw.rc
上传用户:do_tie
上传日期:2007-11-03
资源大小:1095k
文件大小:25k
源码类别:

GDI/图象编程

开发平台:

Visual C++

  1. // Microsoft Visual C++ 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. // 中文(中华人民共和国) 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 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE 
  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.     "LANGUAGE 4, 2rn"
  42.     "#pragma code_page(936)rn"
  43.     "#include ""res\GandyDraw.rc2""  // 非 Microsoft Visual C++ 编辑的资源rn"
  44.     "#include ""afxres.rc""         // 标准组件rn"
  45.     "#include ""afxprint.rc""       // 打印/打印预览资源rn"
  46.     "#endifrn"
  47.     ""
  48. END
  49. #endif    // APSTUDIO_INVOKED
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Icon
  53. //
  54. // Icon with lowest ID value placed first to ensure application icon
  55. // remains consistent on all systems.
  56. IDR_MAINFRAME           ICON                    "res\icon1.ico"
  57. IDR_GandyDrawTYPE       ICON                    "res\GandyDrawDoc.ico"
  58. IDI_ICON1               ICON                    "res\icon1.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Bitmap
  62. //
  63. IDR_MAINFRAME           BITMAP                  "res\Toolbar.bmp"
  64. IDR_DRAWSTYLE           BITMAP                  "res\toolbar1.bmp"
  65. IDB_BITMAP_MM           BITMAP                  "res\mm.BMP"
  66. IDB_BITMAP1             BITMAP                  "res\duke\T10.BMP"
  67. IDB_BITMAP2             BITMAP                  "res\duke\T1.BMP"
  68. IDB_BITMAP3             BITMAP                  "res\duke\T2.BMP"
  69. IDB_BITMAP4             BITMAP                  "res\duke\T3.BMP"
  70. IDB_BITMAP5             BITMAP                  "res\duke\T4.BMP"
  71. IDB_BITMAP6             BITMAP                  "res\duke\T5.BMP"
  72. IDB_BITMAP7             BITMAP                  "res\duke\T6.BMP"
  73. IDB_BITMAP8             BITMAP                  "res\duke\T7.BMP"
  74. IDB_BITMAP9             BITMAP                  "res\duke\T8.BMP"
  75. IDB_BITMAP10            BITMAP                  "res\duke\T9.BMP"
  76. IDB_BITMAP11            BITMAP                  "res\e.bmp"
  77. /////////////////////////////////////////////////////////////////////////////
  78. //
  79. // Toolbar
  80. //
  81. IDR_MAINFRAME TOOLBAR  16, 15
  82. BEGIN
  83.     BUTTON      ID_FILE_NEW
  84.     BUTTON      ID_FILE_OPEN
  85.     BUTTON      ID_FILE_SAVE
  86.     SEPARATOR
  87.     BUTTON      ID_EDIT_CUT
  88.     BUTTON      ID_EDIT_COPY
  89.     BUTTON      ID_EDIT_PASTE
  90.     SEPARATOR
  91.     BUTTON      ID_FILE_PRINT
  92.     BUTTON      ID_APP_ABOUT
  93.     SEPARATOR
  94.     BUTTON      ID_DRAWSET
  95.     SEPARATOR
  96.     BUTTON      ID_LINE
  97.     BUTTON      ID_POLYLINE
  98.     BUTTON      ID_RECT
  99.     BUTTON      ID_ELLIRECT
  100.     BUTTON      ID_ELLIPSE
  101.     BUTTON      ID_POLYGON
  102.     BUTTON      ID_TEXTDRAW
  103.     SEPARATOR
  104.     BUTTON      ID_BRU_SOLID
  105.     SEPARATOR
  106.     BUTTON      ID_CLEARALL
  107. END
  108. IDR_DRAWSTYLE TOOLBAR  16, 15
  109. BEGIN
  110.     BUTTON      ID_SOLID
  111.     BUTTON      ID_DASH
  112.     BUTTON      ID_DOT
  113.     BUTTON      ID_DASHDOT
  114.     BUTTON      ID_DASHDOTDOT
  115.     BUTTON      ID_SETWIDTH
  116.     BUTTON      ID_PENCOLOR
  117.     SEPARATOR
  118.     BUTTON      ID_BRU_HOLLOW
  119.     BUTTON      ID_BRU_SOLID
  120.     BUTTON      ID_STR_HOR
  121.     BUTTON      ID_STR_VER
  122.     BUTTON      ID_STR_BIA
  123.     BUTTON      ID_STR_BLA
  124.     BUTTON      ID_STR_CRO
  125.     BUTTON      ID_STR_CCRO
  126.     BUTTON      ID_FILLWITHPICTURE
  127.     BUTTON      ID_BRU_COLOR
  128.     SEPARATOR
  129.     BUTTON      ID_CHANGEBMP
  130.     SEPARATOR
  131.     BUTTON      ID_SETFONT
  132.     BUTTON      ID_SETFONTCOLOR
  133.     BUTTON      ID_SETFONTBKCOLOR
  134.     BUTTON      ID_INPUTSTR
  135.     SEPARATOR
  136.     BUTTON      ID_JAVADUKE
  137. END
  138. /////////////////////////////////////////////////////////////////////////////
  139. //
  140. // Menu
  141. //
  142. IDR_MAINFRAME MENU 
  143. BEGIN
  144.     POPUP "文件(&F)"
  145.     BEGIN
  146.         MENUITEM "新建(&N)tCtrl+N",              ID_FILE_NEW
  147.         MENUITEM "打开(&O)...tCtrl+O",           ID_FILE_OPEN
  148.         MENUITEM "保存(&S)tCtrl+S",              ID_FILE_SAVE
  149.         MENUITEM "另存为(&A)...",                  ID_FILE_SAVE_AS
  150.         MENUITEM SEPARATOR
  151.         MENUITEM "打印(&P)...tCtrl+P",           ID_FILE_PRINT
  152.         MENUITEM "打印预览(&V)",                    ID_FILE_PRINT_PREVIEW
  153.         MENUITEM "打印设置(&R)...",                 ID_FILE_PRINT_SETUP
  154.         MENUITEM SEPARATOR
  155.         MENUITEM "最近的文件",                       ID_FILE_MRU_FILE1
  156.         MENUITEM SEPARATOR
  157.         MENUITEM "退出(&X)",                      ID_APP_EXIT
  158.     END
  159.     POPUP "编辑(&E)"
  160.     BEGIN
  161.         MENUITEM "撤消(&U)tCtrl+Z",              ID_EDIT_UNDO
  162.         MENUITEM SEPARATOR
  163.         MENUITEM "剪切(&T)tCtrl+X",              ID_EDIT_CUT
  164.         MENUITEM "复制(&C)tCtrl+C",              ID_EDIT_COPY
  165.         MENUITEM "粘贴(&P)tCtrl+V",              ID_EDIT_PASTE
  166.     END
  167.     POPUP "视图(&V)"
  168.     BEGIN
  169.         MENUITEM "工具栏(&T)",                     ID_VIEW_TOOLBAR
  170.         MENUITEM "状态栏(&S)",                     ID_VIEW_STATUS_BAR
  171.         MENUITEM "绘图风格栏(&D)",                   ID_VIEW_DS_TBAR
  172.     END
  173.     POPUP "绘图(&D)"
  174.     BEGIN
  175.         POPUP "图形(&G)"
  176.         BEGIN
  177.             MENUITEM "直线(&L)",                      ID_LINE
  178.             MENUITEM "折线(&P)",                      ID_POLYLINE
  179.             MENUITEM "矩形(&R)",                      ID_RECT
  180.             MENUITEM "圆角矩形(&O)",                    ID_ELLIRECT
  181.             MENUITEM "椭圆(&E)",                      ID_ELLIPSE
  182.             MENUITEM "多边形(&G)",                     ID_POLYGON
  183.             MENUITEM "文本(&T)",                      ID_TEXTDRAW
  184.         END
  185.         POPUP "铅笔(&P)"
  186.         BEGIN
  187.             POPUP "线形(&S)"
  188.             BEGIN
  189.                 MENUITEM "实线(&S)",                      ID_SOLID
  190.                 MENUITEM "虚线(&H)",                      ID_DASH
  191.                 MENUITEM "点线(&D)",                      ID_DOT
  192.                 MENUITEM "虚点线(&A)",                     ID_DASHDOT
  193.                 MENUITEM "虚点点线(&O)",                    ID_DASHDOTDOT
  194.             END
  195.             POPUP "线宽(&W)"
  196.             BEGIN
  197.                 MENUITEM "1",                           ID_SETWIDTH1
  198.                 MENUITEM "2",                           ID_SETWIDTH2
  199.                 MENUITEM "3",                           ID_SETWIDTH3
  200.                 MENUITEM "4",                           ID_SETWIDTH4
  201.                 MENUITEM "8",                           ID_SETWIDTH8
  202.                 MENUITEM "10",                          ID_SETWIDTH10
  203.                 MENUITEM "20",                          ID_SETWIDTH20
  204.                 MENUITEM "50",                          ID_SETWIDTH50
  205.                 MENUITEM "自定义",                         ID_SETWIDTH
  206.             END
  207.             MENUITEM "颜色(&C)",                      ID_PENCOLOR
  208.         END
  209.         POPUP "刷子(&B)"
  210.         BEGIN
  211.             POPUP "风格(&S)"
  212.             BEGIN
  213.                 MENUITEM "空心(&N)",                      ID_BRU_HOLLOW
  214.                 MENUITEM "实心(&S)",                      ID_BRU_SOLID
  215.                 POPUP "以条纹填充(&H)"
  216.                 BEGIN
  217.                     MENUITEM "水平线(&H)",                     ID_STR_HOR
  218.                     MENUITEM "垂直线(&V)",                     ID_STR_VER
  219.                     MENUITEM "正斜线(&F)",                     ID_STR_BIA
  220.                     MENUITEM "反斜线(&B)",                     ID_STR_BLA
  221.                     MENUITEM "十字线(&C)",                     ID_STR_CRO
  222.                     MENUITEM "斜十字线(D)",                     ID_STR_CCRO
  223.                 END
  224.                 MENUITEM "以图像填充(&P)",                   ID_FILLWITHPICTURE
  225.             END
  226.             MENUITEM "刷子颜色(C)",                     ID_BRU_COLOR
  227.             MENUITEM "更换填充图像(&P)",                  ID_CHANGEBMP
  228.         END
  229.         MENUITEM "清除所有(&C)",                    ID_CLEARALL
  230.         MENUITEM SEPARATOR
  231.         MENUITEM "绘图选项(&O)",                    ID_DRAWSET
  232.     END
  233.     POPUP "文字(&T)"
  234.     BEGIN
  235.         MENUITEM "选择字体(&F)",                    ID_SETFONT
  236.         POPUP "设置字体颜色(&C)"
  237.         BEGIN
  238.             MENUITEM "前景色",                         ID_SETFONTCOLOR
  239.             MENUITEM "背景色",                         ID_SETFONTBKCOLOR
  240.         END
  241.         MENUITEM "输入字符串(&I)",                   ID_INPUTSTR
  242.         MENUITEM "文字绘图(O)",                     ID_OUTPUTSTR
  243.         MENUITEM SEPARATOR
  244.         MENUITEM "输出文字大小",                      ID_OUTPUTFONTSIZE
  245.         MENUITEM "旋转文本串",                       ID_TESTROTATION
  246.     END
  247.     POPUP "位图(&B)"
  248.     BEGIN
  249.         MENUITEM "打开位图文件(O)",                   ID_OPENBMP
  250.         MENUITEM SEPARATOR
  251.         MENUITEM "隐藏位图(&H)",                    ID_CLEARALL
  252.         MENUITEM "显示原始位图(&V)",                  ID_DISPVIRBMP
  253.         MENUITEM "显示缩放位图(&S)",                  ID_DISPSTRBMP
  254.         POPUP "缩放参数(&P)"
  255.         BEGIN
  256.             MENUITEM "固定宽高比(&S)",                   ID_STRKEEPRATE
  257.             MENUITEM "填满绘图区(&F)",                   ID_STRFILLCLIENT
  258.             MENUITEM SEPARATOR
  259.             MENUITEM "模式 黑去白(&B)",                  ID_BLACKONWHITE
  260.             MENUITEM "模式 白去黑(&W)",                  ID_WHITEONBLACK
  261.             MENUITEM "模式 多彩(&C)",                   ID_COLORONCOLOR
  262.             MENUITEM "模式 半调(&H)",                   ID_HALFTONE
  263.         END
  264.         MENUITEM SEPARATOR
  265.         MENUITEM "显示预定义位图(&E)",                 ID_DRAWOEMBMP
  266.         MENUITEM "Java Duke 位图动画(&F)",          ID_JAVADUKE
  267.     END
  268.     POPUP "帮助(&H)"
  269.     BEGIN
  270.         MENUITEM "关于 GandyDraw(&A)...",         ID_APP_ABOUT
  271.     END
  272. END
  273. /////////////////////////////////////////////////////////////////////////////
  274. //
  275. // Accelerator
  276. //
  277. IDR_MAINFRAME ACCELERATORS 
  278. BEGIN
  279.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  280.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  281.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  282.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  283.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  284.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  285.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  286.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  287.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  288.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  289.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  290.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  291.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  292.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  293. END
  294. /////////////////////////////////////////////////////////////////////////////
  295. //
  296. // Dialog
  297. //
  298. IDD_ABOUTBOX DIALOGEX 0, 0, 236, 72
  299. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  300. CAPTION "关于 GandyDraw"
  301. FONT 9, "宋体", 0, 0, 0x1
  302. BEGIN
  303.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,21,21
  304.     LTEXT           "GandyDraw 3.0 版",IDC_STATIC,39,21,119,8,SS_NOPREFIX
  305.     LTEXT           "Copyright (C) 2006",IDC_STATIC,39,50,119,8
  306.     DEFPUSHBUTTON   "确定",IDOK,179,7,50,16,WS_GROUP
  307.     LTEXT           "计算机应用软件 甘国衡 04378009",IDC_STATIC,40,37,135,11
  308. END
  309. IDD_INPUTSTR DIALOGEX 0, 0, 182, 63
  310. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  311. CAPTION "输入要显示的字符串"
  312. FONT 8, "MS Shell Dlg", 400, 0, 0x1
  313. BEGIN
  314.     PUSHBUTTON      "确定",IDOK,121,16,50,14
  315.     PUSHBUTTON      "取消",IDCANCEL,122,35,50,14
  316.     EDITTEXT        IDC_INPUTSTR,16,16,96,36,ES_AUTOHSCROLL
  317. END
  318. IDD_SETWIDTH DIALOGEX 0, 0, 149, 61
  319. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  320. CAPTION "线宽设置"
  321. FONT 8, "MS Shell Dlg", 400, 0, 0x1
  322. BEGIN
  323.     DEFPUSHBUTTON   "确定",IDOK,85,15,50,14
  324.     PUSHBUTTON      "取消",IDCANCEL,86,33,50,14
  325.     EDITTEXT        IDC_SETWIDTH,43,25,32,14,ES_AUTOHSCROLL
  326.     LTEXT           "线宽:",IDC_STATIC,15,28,26,8
  327. END
  328. IDD_JAVADUKE DIALOGEX 0, 0, 208, 138
  329. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  330. CAPTION "Java Duke 位图动画"
  331. FONT 8, "MS Shell Dlg", 400, 0, 0x1
  332. BEGIN
  333.     PUSHBUTTON      "关闭",IDCANCEL,126,61,50,14
  334.     CONTROL         145,IDC_ANI,"Static",SS_BITMAP,32,28,37,42
  335.     PUSHBUTTON      "开始动画",IDC_ANI_STARTSTOP,126,28,50,14
  336.     EDITTEXT        IDC_N,55,103,26,14,ES_AUTOHSCROLL
  337.     LTEXT           "每秒帧数:",IDC_STATIC,12,107,41,8
  338.     CONTROL         "",IDC_SLIDER_N,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,83,102,89,15
  339. END
  340. IDD_CHANGE_BMP DIALOGEX 0, 0, 241, 166
  341. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  342. CAPTION "更换填充位图"
  343. FONT 8, "MS Shell Dlg", 400, 0, 0x1
  344. BEGIN
  345.     DEFPUSHBUTTON   "确定",IDOK,168,107,50,14
  346.     PUSHBUTTON      "取消",IDCANCEL,168,130,50,14
  347.     PUSHBUTTON      "浏览...",IDC_LOADBMP,165,17,50,14
  348.     GROUPBOX        "位图尺寸",IDC_STATIC,164,40,55,53
  349.     LTEXT           "宽:",IDC_STATIC,174,57,16,8
  350.     LTEXT           "高:",IDC_STATIC,174,76,16,10
  351.     LTEXT           "静态",IDC_SHOW_HEIGHT,191,76,17,8
  352.     LTEXT           "静态",IDC_SHOW_WIDTH,191,57,17,8
  353.     CONTROL         "",IDC_SHOWBMP,"Static",SS_GRAYFRAME,15,15,124,130
  354. END
  355. IDD_DRAWSET DIALOGEX 0, 0, 280, 293
  356. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  357. CAPTION "绘图属性"
  358. FONT 8, "MS Shell Dlg", 400, 0, 0x1
  359. BEGIN
  360.     DEFPUSHBUTTON   "确定",IDOK,95,264,50,14
  361.     PUSHBUTTON      "取消",IDCANCEL,155,264,50,14
  362.     GROUPBOX        "笔",IDC_STATIC,7,7,103,77
  363.     LTEXT           "颜色:",IDC_STATIC,18,26,25,8
  364.     CONTROL         "",IDC_PEN_COLOR,"Button",BS_OWNERDRAW | WS_TABSTOP,45,22,50,14
  365.     LTEXT           "线宽:",IDC_STATIC,17,46,25,8
  366.     EDITTEXT        IDC_PEN_WIDTH,47,43,23,14,ES_AUTOHSCROLL
  367.     CONTROL         "",IDC_PEN_WIDTH_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,71,43,10,14
  368.     LTEXT           "线形:",IDC_STATIC,17,66,25,8
  369.     COMBOBOX        IDC_PEN_STYLE_COMBO,47,62,53,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
  370.     GROUPBOX        "图形",IDC_STATIC,7,90,108,164
  371.     CONTROL         "填充",IDC_CHECK_FILL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,81,148,28,10
  372.     GROUPBOX        "刷子",IDC_STATIC,122,7,146,248
  373.     LTEXT           "颜色:",IDC_STATIC,142,25,25,8
  374.     CONTROL         "",IDC_BRUSH_COLOR,"Button",BS_OWNERDRAW | WS_TABSTOP,170,22,50,14
  375.     GROUPBOX        "风格",IDC_STATIC,127,49,133,203
  376.     COMBOBOX        IDC_BRUSH_STR_COMBO,174,115,61,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
  377.     GROUPBOX        "静态",IDC_STATIC,175,210,79,22
  378.     LTEXT           "宽:",IDC_STATIC,177,219,17,8
  379.     LTEXT           "",IDC_BRUSH_BMP_WIDTH,195,219,8,8
  380.     LTEXT           "高:",IDC_STATIC,215,219,17,8
  381.     LTEXT           "",IDC_BRUSH_BMP_HEIGHT,241,219,8,8
  382.     CONTROL         "",IDC_SHOWIMG,"Static",SS_BLACKFRAME,178,133,73,71
  383.     CONTROL         "直线",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON | WS_GROUP,16,108,32,10
  384.     CONTROL         "折线",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,16,128,32,10
  385.     CONTROL         "矩形(正方形)",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,16,148,61,10
  386.     CONTROL         "圆角矩形",IDC_RADIO5,"Button",BS_AUTORADIOBUTTON,16,168,48,10
  387.     CONTROL         "椭圆(圆)",IDC_RADIO6,"Button",BS_AUTORADIOBUTTON,16,188,45,10
  388.     CONTROL         "多边形",IDC_RADIO7,"Button",BS_AUTORADIOBUTTON,16,208,40,10
  389.     CONTROL         "文本",IDC_RADIO8,"Button",BS_AUTORADIOBUTTON,16,228,32,10
  390.     CONTROL         "空心",IDC_RADIO12,"Button",BS_AUTORADIOBUTTON | WS_GROUP,138,66,32,10
  391.     CONTROL         "实心",IDC_RADIO13,"Button",BS_AUTORADIOBUTTON,138,91,32,10
  392.     CONTROL         "条纹",IDC_RADIO14,"Button",BS_AUTORADIOBUTTON,138,117,32,10
  393.     CONTROL         "图案",IDC_RADIO15,"Button",BS_AUTORADIOBUTTON,138,158,32,10
  394. END
  395. /////////////////////////////////////////////////////////////////////////////
  396. //
  397. // Version
  398. //
  399. VS_VERSION_INFO VERSIONINFO
  400.  FILEVERSION 3,0,0,1
  401.  PRODUCTVERSION 3,0,0,1
  402.  FILEFLAGSMASK 0x3fL
  403. #ifdef _DEBUG
  404.  FILEFLAGS 0x1L
  405. #else
  406.  FILEFLAGS 0x0L
  407. #endif
  408.  FILEOS 0x4L
  409.  FILETYPE 0x1L
  410.  FILESUBTYPE 0x0L
  411. BEGIN
  412.     BLOCK "StringFileInfo"
  413.     BEGIN
  414.         BLOCK "080403a8"
  415.         BEGIN
  416.             VALUE "CompanyName", "GandySoft Corp."
  417.             VALUE "FileDescription", "GandyDraw"
  418.             VALUE "FileVersion", "3.0.0.1"
  419.             VALUE "InternalName", "GandyDraw.exe"
  420.             VALUE "LegalCopyright", "GandySoft Corp."
  421.             VALUE "OriginalFilename", "GandyDraw.exe"
  422.             VALUE "ProductName", "GandyDraw"
  423.             VALUE "ProductVersion", "3.0.0.1"
  424.         END
  425.     END
  426.     BLOCK "VarFileInfo"
  427.     BEGIN
  428.         VALUE "Translation", 0x804, 936
  429.     END
  430. END
  431. /////////////////////////////////////////////////////////////////////////////
  432. //
  433. // DESIGNINFO
  434. //
  435. #ifdef APSTUDIO_INVOKED
  436. GUIDELINES DESIGNINFO 
  437. BEGIN
  438.     IDD_ABOUTBOX, DIALOG
  439.     BEGIN
  440.         LEFTMARGIN, 7
  441.         RIGHTMARGIN, 229
  442.         TOPMARGIN, 7
  443.         BOTTOMMARGIN, 65
  444.     END
  445.     IDD_INPUTSTR, DIALOG
  446.     BEGIN
  447.         LEFTMARGIN, 7
  448.         RIGHTMARGIN, 175
  449.         TOPMARGIN, 7
  450.         BOTTOMMARGIN, 56
  451.     END
  452.     IDD_SETWIDTH, DIALOG
  453.     BEGIN
  454.         LEFTMARGIN, 7
  455.         RIGHTMARGIN, 142
  456.         TOPMARGIN, 7
  457.         BOTTOMMARGIN, 54
  458.     END
  459.     IDD_JAVADUKE, DIALOG
  460.     BEGIN
  461.         LEFTMARGIN, 7
  462.         RIGHTMARGIN, 201
  463.         TOPMARGIN, 7
  464.         BOTTOMMARGIN, 131
  465.     END
  466.     IDD_CHANGE_BMP, DIALOG
  467.     BEGIN
  468.         LEFTMARGIN, 7
  469.         RIGHTMARGIN, 234
  470.         TOPMARGIN, 7
  471.         BOTTOMMARGIN, 159
  472.     END
  473.     IDD_DRAWSET, DIALOG
  474.     BEGIN
  475.         LEFTMARGIN, 7
  476.         RIGHTMARGIN, 273
  477.         TOPMARGIN, 7
  478.         BOTTOMMARGIN, 286
  479.     END
  480. END
  481. #endif    // APSTUDIO_INVOKED
  482. /////////////////////////////////////////////////////////////////////////////
  483. //
  484. // Cursor
  485. //
  486. IDC_CURSOR1             CURSOR                  "res\cursor1.cur"
  487. IDC_CURSOR2             CURSOR                  "res\cursor2.cur"
  488. IDC_CURSOR3             CURSOR                  "res\cursor3.cur"
  489. IDC_CURSOR4             CURSOR                  "res\cursor4.cur"
  490. IDC_CURSOR5             CURSOR                  "res\cursor5.cur"
  491. IDC_CURSOR6             CURSOR                  "res\cursor6.cur"
  492. IDC_CURSOR7             CURSOR                  "res\cursor7.cur"
  493. /////////////////////////////////////////////////////////////////////////////
  494. //
  495. // String Table
  496. //
  497. STRINGTABLE 
  498. BEGIN
  499.     IDP_OLE_INIT_FAILED     "OLE 初始化失败。请确保 OLE 库是正确的版本。"
  500. END
  501. STRINGTABLE 
  502. BEGIN
  503.     IDR_MAINFRAME           "GandyDrawnnGandyDrawnnnGandyDraw.DocumentnGandyDraw.Document"
  504. END
  505. STRINGTABLE 
  506. BEGIN
  507.     AFX_IDS_APP_TITLE       "GandyDraw"
  508.     AFX_IDS_IDLEMESSAGE     "就绪"
  509. END
  510. STRINGTABLE 
  511. BEGIN
  512.     ID_INDICATOR_EXT        "EXT"
  513.     ID_INDICATOR_CAPS       "CAP"
  514.     ID_INDICATOR_NUM        "NUM"
  515.     ID_INDICATOR_SCRL       "SCRL"
  516.     ID_INDICATOR_OVR        "OVR"
  517.     ID_INDICATOR_REC        "REC"
  518. END
  519. STRINGTABLE 
  520. BEGIN
  521.     ID_FILE_NEW             "创建新文档n新建"
  522.     ID_FILE_OPEN            "打开现有文档n打开"
  523.     ID_FILE_CLOSE           "关闭活动文档n关闭"
  524.     ID_FILE_SAVE            "保存活动文档n保存"
  525.     ID_FILE_SAVE_AS         "用新名称保存活动文档n另存为"
  526.     ID_FILE_PAGE_SETUP      "更改打印选项n页面设置"
  527.     ID_FILE_PRINT_SETUP     "更改打印机选项和打印选项n打印设置"
  528.     ID_FILE_PRINT           "打印活动文档n打印"
  529.     ID_FILE_PRINT_PREVIEW   "显示整页n打印预览"
  530. END
  531. STRINGTABLE 
  532. BEGIN
  533.     ID_APP_ABOUT            "显示程序信息、版本号和版权n关于"
  534.     ID_APP_EXIT             "退出应用程序;提示保存文档n退出"
  535. END
  536. STRINGTABLE 
  537. BEGIN
  538.     ID_FILE_MRU_FILE1       "打开此文档"
  539.     ID_FILE_MRU_FILE2       "打开此文档"
  540.     ID_FILE_MRU_FILE3       "打开此文档"
  541.     ID_FILE_MRU_FILE4       "打开此文档"
  542.     ID_FILE_MRU_FILE5       "打开此文档"
  543.     ID_FILE_MRU_FILE6       "打开此文档"
  544.     ID_FILE_MRU_FILE7       "打开此文档"
  545.     ID_FILE_MRU_FILE8       "打开此文档"
  546.     ID_FILE_MRU_FILE9       "打开此文档"
  547.     ID_FILE_MRU_FILE10      "打开此文档"
  548.     ID_FILE_MRU_FILE11      "打开此文档"
  549.     ID_FILE_MRU_FILE12      "打开此文档"
  550.     ID_FILE_MRU_FILE13      "打开此文档"
  551.     ID_FILE_MRU_FILE14      "打开此文档"
  552.     ID_FILE_MRU_FILE15      "打开此文档"
  553.     ID_FILE_MRU_FILE16      "打开此文档"
  554. END
  555. STRINGTABLE 
  556. BEGIN
  557.     ID_NEXT_PANE            "切换到下一个窗格n下一窗格"
  558.     ID_PREV_PANE            "切换回上一个窗格n上一窗格"
  559. END
  560. STRINGTABLE 
  561. BEGIN
  562.     ID_WINDOW_SPLIT         "将活动窗口拆分为多个窗格n拆分"
  563. END
  564. STRINGTABLE 
  565. BEGIN
  566.     ID_EDIT_CLEAR           "清除选定内容n清除"
  567.     ID_EDIT_CLEAR_ALL       "清除全部内容n全部清除"
  568.     ID_EDIT_COPY            "复制选定内容并将其放到剪贴板上n复制"
  569.     ID_EDIT_CUT             "剪切选定内容并将其放到剪贴板上n剪切"
  570.     ID_EDIT_FIND            "查找指定的文本n查找"
  571.     ID_EDIT_PASTE           "插入剪贴板内容n粘贴"
  572.     ID_EDIT_REPEAT          "重复上一操作n重复"
  573.     ID_EDIT_REPLACE         "用其他文本替换特定的文本n替换"
  574.     ID_EDIT_SELECT_ALL      "选定整个文档n全选"
  575.     ID_EDIT_UNDO            "撤消上一操作n撤消"
  576.     ID_EDIT_REDO            "恢复上次撤消的操作n重做"
  577. END
  578. STRINGTABLE 
  579. BEGIN
  580.     ID_VIEW_TOOLBAR         "显示或隐藏工具栏n切换工具栏"
  581.     ID_VIEW_STATUS_BAR      "显示或隐藏状态栏n切换状态栏"
  582. END
  583. STRINGTABLE 
  584. BEGIN
  585.     AFX_IDS_SCSIZE          "更改窗口大小"
  586.     AFX_IDS_SCMOVE          "更改窗口位置"
  587.     AFX_IDS_SCMINIMIZE      "将窗口缩小为图标"
  588.     AFX_IDS_SCMAXIMIZE      "使窗口最大化显示"
  589.     AFX_IDS_SCNEXTWINDOW    "切换到下一个文档窗口"
  590.     AFX_IDS_SCPREVWINDOW    "切换到前一个文档窗口"
  591.     AFX_IDS_SCCLOSE         "关闭活动窗口并提示保存文档"
  592. END
  593. STRINGTABLE 
  594. BEGIN
  595.     AFX_IDS_SCRESTORE       "将窗口恢复到正常大小"
  596.     AFX_IDS_SCTASKLIST      "激活任务列表"
  597. END
  598. STRINGTABLE 
  599. BEGIN
  600.     AFX_IDS_PREVIEW_CLOSE   "关闭打印预览模式n取消预览"
  601. END
  602. STRINGTABLE 
  603. BEGIN
  604.     ID_DRAWSET              "总体绘图设置对话框n 绘图设置"
  605.     ID_LINE                 "绘制直线n 直线"
  606.     ID_POLYLINE             "绘制折线n 折线"
  607.     ID_POLYGON              "绘制多边形n 多边形"
  608.     ID_RECT                 "绘制矩形,按住Shift时绘制正方形n 矩形"
  609.     ID_RNDRECT              "绘制圆角矩形n 圆角矩形"
  610.     ID_ELLIPSE              "绘制椭圆,按住Shift时绘制圆"
  611.     ID_TEXTDRAW             "文本输出n 文本"
  612.     ID_SOLID                "铅笔线形:实线n 实线 "
  613.     ID_DASH                 "铅笔线形:虚线n 虚线"
  614.     ID_DOT                  "铅笔线形:点线n 点线"
  615.     ID_DASHDOT              "铅笔线形:虚点线n 虚点线"
  616.     ID_DASHDOTDOT           "铅笔线形:虚点点线n 虚点点线"
  617. END
  618. STRINGTABLE 
  619. BEGIN
  620.     ID_CHANGEBMP            "更换填充的图像n 图像"
  621.     ID_BRU_COLOR            "设置刷子的颜色n 刷子颜色"
  622.     ID_CLEARALL             "刷新绘图区n 清除"
  623.     ID_SETFONT              "选择字体对话框n 字体"
  624.     ID_SETFONTCOLOR         "设置字体颜色n 字体颜色"
  625.     ID_INPUTSTR             "输入文本绘图时显示的字符串n 字符串"
  626.     ID_OUTPUTSTR            "设置为文本绘图模式n 文本绘图"
  627. END
  628. STRINGTABLE 
  629. BEGIN
  630.     ID_PENCOLOR             "设置铅笔的颜色n 笔色"
  631.     ID_BRU_HOLLOW           "刷子风格:空心n 空心"
  632.     ID_BRU_SOLID            "刷子风格:实心n 实心"
  633. END
  634. STRINGTABLE 
  635. BEGIN
  636.     ID_SETFONTBKCOLOR       "设置字体背景色n字体背景色"
  637. END
  638. #endif    // 中文(中华人民共和国) resources
  639. /////////////////////////////////////////////////////////////////////////////
  640. #ifndef APSTUDIO_INVOKED
  641. /////////////////////////////////////////////////////////////////////////////
  642. //
  643. // Generated from the TEXTINCLUDE 3 resource.
  644. //
  645. #define _AFX_NO_SPLITTER_RESOURCES
  646. #define _AFX_NO_OLE_RESOURCES
  647. #define _AFX_NO_TRACKER_RESOURCES
  648. #define _AFX_NO_PROPERTY_RESOURCES
  649. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  650. LANGUAGE 4, 2
  651. #pragma code_page(936)
  652. #include "resGandyDraw.rc2"  // 非 Microsoft Visual C++ 编辑的资源
  653. #include "afxres.rc"         // 标准组件
  654. #include "afxprint.rc"       // 打印/打印预览资源
  655. #endif
  656. /////////////////////////////////////////////////////////////////////////////
  657. #endif    // not APSTUDIO_INVOKED