MDIMenus.rc
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:13k
源码类别:

对话框与窗口

开发平台:

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. // 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 DISCARDABLE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\MDIMenus.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    DISCARDABLE     "res\CjSample.ico"
  59. IDR_MDIMENUTYPECOLOR        ICON    DISCARDABLE     "res\MDIMenusDoc.ico"
  60. IDR_MDIMENUTYPEEDIT        ICON    DISCARDABLE     "res\MDIMenusDoc.ico"
  61. IDR_MDIMENUTYPEHTML        ICON    DISCARDABLE     "res\MDIMenusDoc.ico"
  62. /////////////////////////////////////////////////////////////////////////////
  63. //
  64. // Bitmap
  65. //
  66. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  67. /////////////////////////////////////////////////////////////////////////////
  68. //
  69. // Toolbar
  70. //
  71. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  72. BEGIN
  73.     BUTTON      ID_FILE_NEW
  74.     BUTTON      ID_FILE_OPEN
  75.     BUTTON      ID_FILE_SAVE
  76.     SEPARATOR
  77.     BUTTON      ID_EDIT_CUT
  78.     BUTTON      ID_EDIT_COPY
  79.     BUTTON      ID_EDIT_PASTE
  80.     SEPARATOR
  81.     BUTTON      ID_GOTO_URL
  82.     SEPARATOR
  83.     BUTTON      ID_FILE_PRINT
  84.     SEPARATOR
  85.     BUTTON      ID_APP_ABOUT
  86. END
  87. /////////////////////////////////////////////////////////////////////////////
  88. //
  89. // Menu
  90. //
  91. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  92. BEGIN
  93.     POPUP "&File"
  94.     BEGIN
  95.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  96.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  97.         MENUITEM SEPARATOR
  98.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  99.         MENUITEM SEPARATOR
  100.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  101.         MENUITEM SEPARATOR
  102.         MENUITEM "E&xit",                       ID_APP_EXIT
  103.     END
  104.     POPUP "&Edit"
  105.     BEGIN
  106.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  107.         MENUITEM SEPARATOR
  108.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  109.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  110.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  111.     END
  112.     POPUP "&Color"
  113.     BEGIN
  114.         MENUITEM "&Red",                        ID_COLOR_RED
  115.         MENUITEM "&Blue",                       ID_COLOR_BLUE
  116.         MENUITEM "&Green",                      ID_COLOR_GREEN
  117.     END
  118.     POPUP "&View"
  119.     BEGIN
  120.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  121.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  122.     END
  123.     POPUP "&Window"
  124.     BEGIN
  125.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  126.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  127.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  128.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  129.         MENUITEM SEPARATOR
  130.         MENUITEM "Window List",                 35000
  131.     END
  132.     POPUP "&Help"
  133.     BEGIN
  134.         MENUITEM "&About MDI Menus Sample...",  ID_APP_ABOUT
  135.     END
  136. END
  137. /////////////////////////////////////////////////////////////////////////////
  138. //
  139. // Accelerator
  140. //
  141. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  142. BEGIN
  143.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  144.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  145.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  146.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  147.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  148.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  149.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  150.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  151.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  152.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  153.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  154.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  155.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  156.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  157. END
  158. #ifndef _MAC
  159. /////////////////////////////////////////////////////////////////////////////
  160. //
  161. // Version
  162. //
  163. VS_VERSION_INFO VERSIONINFO
  164.  FILEVERSION 12,0,0,4
  165.  PRODUCTVERSION 12,0,0,4
  166.  FILEFLAGSMASK 0x3fL
  167. #ifdef _DEBUG
  168.  FILEFLAGS 0x1L
  169. #else
  170.  FILEFLAGS 0x0L
  171. #endif
  172.  FILEOS 0x4L
  173.  FILETYPE 0x1L
  174.  FILESUBTYPE 0x0L
  175. BEGIN
  176.     BLOCK "StringFileInfo"
  177.     BEGIN
  178.         BLOCK "040904B0"
  179.         BEGIN
  180.             VALUE "CompanyName", "Codejock Software"
  181.             VALUE "FileDescription", "MDIMenus MFC Application"
  182.             VALUE "FileVersion", "12, 0, 0, 4"
  183.             VALUE "InternalName", "MDIMenus"
  184.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  185.             VALUE "LegalTrademarks", ""
  186.             VALUE "OriginalFilename", "MDIMenus.EXE"
  187.             VALUE "ProductName", "MDIMenus Application"
  188.             VALUE "ProductVersion", "12, 0, 0, 4"
  189.         END
  190.     END
  191.     BLOCK "VarFileInfo"
  192.     BEGIN
  193.         VALUE "Translation", 0x409, 1200
  194.     END
  195. END
  196. #endif    // !_MAC
  197. /////////////////////////////////////////////////////////////////////////////
  198. //
  199. // String Table
  200. //
  201. STRINGTABLE PRELOAD DISCARDABLE 
  202. BEGIN
  203.     IDR_MAINFRAME           "Codejock MDI Menus Sample"
  204.     IDR_MDIMENUTYPECOLOR        "nColorViewnSimple View TemplatennnMDIMenus.DocumentnMDIMen Document"
  205.     IDR_MDIMENUTYPEEDIT        "nEditViewnEdit View TemplatennnMDIMenus.DocumentnMDIMen Document"
  206.     IDR_MDIMENUTYPEHTML        "nHTMLVIewnHTML VIew TemplatennnMDIMenus.DocumentnMDIMen Document"
  207. END
  208. STRINGTABLE PRELOAD DISCARDABLE 
  209. BEGIN
  210.     AFX_IDS_APP_TITLE       "Codejock MDI Menus Sample"
  211.     AFX_IDS_IDLEMESSAGE     "Ready"
  212. END
  213. STRINGTABLE DISCARDABLE 
  214. BEGIN
  215.     ID_INDICATOR_EXT        "EXT"
  216.     ID_INDICATOR_CAPS       "CAP"
  217.     ID_INDICATOR_NUM        "NUM"
  218.     ID_INDICATOR_SCRL       "SCRL"
  219.     ID_INDICATOR_OVR        "OVR"
  220.     ID_INDICATOR_REC        "REC"
  221. END
  222. STRINGTABLE DISCARDABLE 
  223. BEGIN
  224.     ID_FILE_NEW             "Create a new documentnNew"
  225.     ID_FILE_OPEN            "Open an existing documentnOpen"
  226.     ID_FILE_CLOSE           "Close the active documentnClose"
  227.     ID_FILE_SAVE            "Save the active documentnSave"
  228.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  229.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  230.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  231.     ID_FILE_PRINT           "Print the active documentnPrint"
  232.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  233. END
  234. STRINGTABLE DISCARDABLE 
  235. BEGIN
  236.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  237.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  238. END
  239. STRINGTABLE DISCARDABLE 
  240. BEGIN
  241.     ID_FILE_MRU_FILE1       "Open this document"
  242.     ID_FILE_MRU_FILE2       "Open this document"
  243.     ID_FILE_MRU_FILE3       "Open this document"
  244.     ID_FILE_MRU_FILE4       "Open this document"
  245.     ID_FILE_MRU_FILE5       "Open this document"
  246.     ID_FILE_MRU_FILE6       "Open this document"
  247.     ID_FILE_MRU_FILE7       "Open this document"
  248.     ID_FILE_MRU_FILE8       "Open this document"
  249.     ID_FILE_MRU_FILE9       "Open this document"
  250.     ID_FILE_MRU_FILE10      "Open this document"
  251.     ID_FILE_MRU_FILE11      "Open this document"
  252.     ID_FILE_MRU_FILE12      "Open this document"
  253.     ID_FILE_MRU_FILE13      "Open this document"
  254.     ID_FILE_MRU_FILE14      "Open this document"
  255.     ID_FILE_MRU_FILE15      "Open this document"
  256.     ID_FILE_MRU_FILE16      "Open this document"
  257. END
  258. STRINGTABLE DISCARDABLE 
  259. BEGIN
  260.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  261.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  262. END
  263. STRINGTABLE DISCARDABLE 
  264. BEGIN
  265.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  266.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  267.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  268.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  269.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  270.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  271. END
  272. STRINGTABLE DISCARDABLE 
  273. BEGIN
  274.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  275.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  276.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  277.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  278.     ID_EDIT_FIND            "Find the specified textnFind"
  279.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  280.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  281.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  282.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  283.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  284.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  285. END
  286. STRINGTABLE DISCARDABLE 
  287. BEGIN
  288.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  289.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  290. END
  291. STRINGTABLE DISCARDABLE 
  292. BEGIN
  293.     AFX_IDS_SCSIZE          "Change the window size"
  294.     AFX_IDS_SCMOVE          "Change the window position"
  295.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  296.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  297.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  298.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  299.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  300. END
  301. STRINGTABLE DISCARDABLE 
  302. BEGIN
  303.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  304.     AFX_IDS_SCTASKLIST      "Activate Task List"
  305.     AFX_IDS_MDICHILD        "Activate this window"
  306. END
  307. STRINGTABLE DISCARDABLE 
  308. BEGIN
  309.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  310. END
  311. STRINGTABLE DISCARDABLE 
  312. BEGIN
  313.     ID_EDIT_URL             "URL"
  314.     ID_GOTO_URL             "URL"
  315. END
  316. #endif    // English (U.S.) resources
  317. /////////////////////////////////////////////////////////////////////////////
  318. #ifndef APSTUDIO_INVOKED
  319. /////////////////////////////////////////////////////////////////////////////
  320. //
  321. // Generated from the TEXTINCLUDE 3 resource.
  322. //
  323. #define _AFX_NO_SPLITTER_RESOURCES
  324. #define _AFX_NO_OLE_RESOURCES
  325. #define _AFX_NO_TRACKER_RESOURCES
  326. #define _AFX_NO_PROPERTY_RESOURCES
  327. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  328. #ifdef _WIN32
  329. LANGUAGE 9, 1
  330. #pragma code_page(1252)
  331. #endif //_WIN32
  332. #include "resMDIMenus.rc2"  // non-Microsoft Visual C++ edited resources
  333. #include "afxres.rc"         // Standard components
  334. #include "afxprint.rc"       // printing/print preview resources
  335. #endif
  336. /////////////////////////////////////////////////////////////////////////////
  337. #endif    // not APSTUDIO_INVOKED