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