ToolBarsDemo.rc
上传用户:wlkj888
上传日期:2022-08-01
资源大小:806k
文件大小:14k
源码类别:

对话框与窗口

开发平台:

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