Demo.rc
上传用户:shuini
上传日期:2007-02-05
资源大小:103k
文件大小:12k
源码类别:

工具条

开发平台:

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. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  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_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\Demo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  48.     "#endifrn"
  49.     ""
  50. END
  51. #endif    // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Icon
  55. //
  56. // Icon with lowest ID value placed first to ensure application icon
  57. // remains consistent on all systems.
  58. IDR_MAINFRAME           ICON                    "res\Demo.ico"
  59. IDR_DEMOTYPE            ICON                    "res\DemoDoc.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Bitmap
  63. //
  64. IDR_MAINFRAME           BITMAP                  "res\Toolbar.bmp"
  65. IDB_BITMAP1             BITMAP                  "res\1.bmp"
  66. /////////////////////////////////////////////////////////////////////////////
  67. //
  68. // Toolbar
  69. //
  70. IDR_MAINFRAME TOOLBAR  16, 15
  71. BEGIN
  72.     BUTTON      ID_FILE_NEW
  73.     BUTTON      ID_FILE_OPEN
  74.     BUTTON      ID_FILE_SAVE
  75.     SEPARATOR
  76.     BUTTON      ID_FIND
  77.     BUTTON      ID_EDIT_CUT
  78.     BUTTON      ID_EDIT_COPY
  79.     BUTTON      ID_EDIT_PASTE
  80.     SEPARATOR
  81.     BUTTON      ID_FILE_PRINT
  82.     SEPARATOR
  83.     BUTTON      ID_APP_ABOUT
  84.     SEPARATOR
  85.     BUTTON      ID_OP
  86.     BUTTON      ID_CUSTOMIZE
  87. END
  88. /////////////////////////////////////////////////////////////////////////////
  89. //
  90. // Menu
  91. //
  92. IDR_MAINFRAME MENU 
  93. BEGIN
  94.     POPUP "&File"
  95.     BEGIN
  96.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  97.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  98.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  99.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  100.         MENUITEM SEPARATOR
  101.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  102.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  103.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  104.         MENUITEM SEPARATOR
  105.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  106.         MENUITEM SEPARATOR
  107.         MENUITEM "E&xit",                       ID_APP_EXIT
  108.     END
  109.     POPUP "&Edit"
  110.     BEGIN
  111.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  112.         MENUITEM SEPARATOR
  113.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  114.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  115.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  116.     END
  117.     POPUP "&View"
  118.     BEGIN
  119.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  120.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  121.         MENUITEM SEPARATOR
  122.         MENUITEM "&Cutomize ...",               ID_CUSTOMIZE
  123.     END
  124.     POPUP "&Help"
  125.     BEGIN
  126.         MENUITEM "&About Demo...",              ID_APP_ABOUT
  127.     END
  128. END
  129. IDR_OP MENU 
  130. BEGIN
  131.     POPUP "&Edit"
  132.     BEGIN
  133.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  134.         MENUITEM SEPARATOR
  135.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  136.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  137.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  138.     END
  139. END
  140. /////////////////////////////////////////////////////////////////////////////
  141. //
  142. // Accelerator
  143. //
  144. IDR_MAINFRAME ACCELERATORS 
  145. BEGIN
  146.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  147.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  148.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  149.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  150.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  151.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  152.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  153.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  154.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  155.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  156.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  157.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  158.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  159.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  160. END
  161. /////////////////////////////////////////////////////////////////////////////
  162. //
  163. // Dialog
  164. //
  165. IDD_ABOUTBOX DIALOG  0, 0, 235, 55
  166. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  167. CAPTION "About Demo"
  168. FONT 8, "MS Sans Serif"
  169. BEGIN
  170.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  171.     LTEXT           "Demo Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  172.     LTEXT           "Copyright (C) 2001",IDC_STATIC,40,25,119,8
  173.     DEFPUSHBUTTON   "OK",IDOK,178,7,50,14,WS_GROUP
  174. END
  175. /////////////////////////////////////////////////////////////////////////////
  176. //
  177. // Version
  178. //
  179. VS_VERSION_INFO VERSIONINFO
  180.  FILEVERSION 1,0,0,1
  181.  PRODUCTVERSION 1,0,0,1
  182.  FILEFLAGSMASK 0x3fL
  183. #ifdef _DEBUG
  184.  FILEFLAGS 0x1L
  185. #else
  186.  FILEFLAGS 0x0L
  187. #endif
  188.  FILEOS 0x4L
  189.  FILETYPE 0x1L
  190.  FILESUBTYPE 0x0L
  191. BEGIN
  192.     BLOCK "StringFileInfo"
  193.     BEGIN
  194.         BLOCK "040904B0"
  195.         BEGIN
  196.             VALUE "FileDescription", "Demo MFC Application"
  197.             VALUE "FileVersion", "1, 0, 0, 1"
  198.             VALUE "InternalName", "Demo"
  199.             VALUE "LegalCopyright", "Copyright (C) 2001"
  200.             VALUE "OriginalFilename", "Demo.EXE"
  201.             VALUE "ProductName", "Demo Application"
  202.             VALUE "ProductVersion", "1, 0, 0, 1"
  203.         END
  204.     END
  205.     BLOCK "VarFileInfo"
  206.     BEGIN
  207.         VALUE "Translation", 0x409, 1200
  208.     END
  209. END
  210. /////////////////////////////////////////////////////////////////////////////
  211. //
  212. // DESIGNINFO
  213. //
  214. #ifdef APSTUDIO_INVOKED
  215. GUIDELINES DESIGNINFO 
  216. BEGIN
  217.     IDD_ABOUTBOX, DIALOG
  218.     BEGIN
  219.         LEFTMARGIN, 7
  220.         RIGHTMARGIN, 228
  221.         TOPMARGIN, 7
  222.         BOTTOMMARGIN, 48
  223.     END
  224. END
  225. #endif    // APSTUDIO_INVOKED
  226. /////////////////////////////////////////////////////////////////////////////
  227. //
  228. // String Table
  229. //
  230. STRINGTABLE 
  231. BEGIN
  232.     IDR_MAINFRAME           "DemonnDemonnnDemo.DocumentnDemo Document"
  233. END
  234. STRINGTABLE 
  235. BEGIN
  236.     AFX_IDS_APP_TITLE       "Demo"
  237.     AFX_IDS_IDLEMESSAGE     "Ready"
  238. END
  239. STRINGTABLE 
  240. BEGIN
  241.     ID_INDICATOR_EXT        "EXT"
  242.     ID_INDICATOR_CAPS       "CAP"
  243.     ID_INDICATOR_NUM        "NUM"
  244.     ID_INDICATOR_SCRL       "SCRL"
  245.     ID_INDICATOR_OVR        "OVR"
  246.     ID_INDICATOR_REC        "REC"
  247. END
  248. STRINGTABLE 
  249. BEGIN
  250.     ID_FILE_NEW             "Create a new documentnNew"
  251.     ID_FILE_OPEN            "Open an existing documentnOpen"
  252.     ID_FILE_CLOSE           "Close the active documentnClose"
  253.     ID_FILE_SAVE            "Save the active documentnSave"
  254.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  255.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  256.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  257.     ID_FILE_PRINT           "Print the active documentnPrint"
  258.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  259. END
  260. STRINGTABLE 
  261. BEGIN
  262.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  263.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  264. END
  265. STRINGTABLE 
  266. BEGIN
  267.     ID_FILE_MRU_FILE1       "Open this document"
  268.     ID_FILE_MRU_FILE2       "Open this document"
  269.     ID_FILE_MRU_FILE3       "Open this document"
  270.     ID_FILE_MRU_FILE4       "Open this document"
  271.     ID_FILE_MRU_FILE5       "Open this document"
  272.     ID_FILE_MRU_FILE6       "Open this document"
  273.     ID_FILE_MRU_FILE7       "Open this document"
  274.     ID_FILE_MRU_FILE8       "Open this document"
  275.     ID_FILE_MRU_FILE9       "Open this document"
  276.     ID_FILE_MRU_FILE10      "Open this document"
  277.     ID_FILE_MRU_FILE11      "Open this document"
  278.     ID_FILE_MRU_FILE12      "Open this document"
  279.     ID_FILE_MRU_FILE13      "Open this document"
  280.     ID_FILE_MRU_FILE14      "Open this document"
  281.     ID_FILE_MRU_FILE15      "Open this document"
  282.     ID_FILE_MRU_FILE16      "Open this document"
  283. END
  284. STRINGTABLE 
  285. BEGIN
  286.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  287.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  288. END
  289. STRINGTABLE 
  290. BEGIN
  291.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  292. END
  293. STRINGTABLE 
  294. BEGIN
  295.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  296.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  297.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  298.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut itnCut"
  299.     ID_EDIT_FIND            "Find the specified textnFind"
  300.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  301.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  302.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  303.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  304.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  305.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  306. END
  307. STRINGTABLE 
  308. BEGIN
  309.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  310.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  311. END
  312. STRINGTABLE 
  313. BEGIN
  314.     AFX_IDS_SCSIZE          "Change the window size"
  315.     AFX_IDS_SCMOVE          "Change the window position"
  316.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  317.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  318.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  319.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  320.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  321. END
  322. STRINGTABLE 
  323. BEGIN
  324.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  325.     AFX_IDS_SCTASKLIST      "Activate Task List"
  326. END
  327. STRINGTABLE 
  328. BEGIN
  329.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  330. END
  331. STRINGTABLE 
  332. BEGIN
  333.     ID_FIND                 "FindnFind"
  334.     ID_OP                   "Edit.nEdit Menu."
  335.     ID_CUSTOMIZE            "Customize the Toolbar.nCustomize The Toolbar."
  336. END
  337. #endif    // English (U.S.) resources
  338. /////////////////////////////////////////////////////////////////////////////
  339. #ifndef APSTUDIO_INVOKED
  340. /////////////////////////////////////////////////////////////////////////////
  341. //
  342. // Generated from the TEXTINCLUDE 3 resource.
  343. //
  344. #define _AFX_NO_SPLITTER_RESOURCES
  345. #define _AFX_NO_OLE_RESOURCES
  346. #define _AFX_NO_TRACKER_RESOURCES
  347. #define _AFX_NO_PROPERTY_RESOURCES
  348. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  349. #ifdef _WIN32
  350. LANGUAGE 9, 1
  351. #pragma code_page(1252)
  352. #endif //_WIN32
  353. #include "resDemo.rc2"  // non-Microsoft Visual C++ edited resources
  354. #include "afxres.rc"         // Standard components
  355. #include "afxprint.rc"       // printing/print preview resources
  356. #endif
  357. /////////////////////////////////////////////////////////////////////////////
  358. #endif    // not APSTUDIO_INVOKED