CommandBarControls.rc
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小: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\CommandBarControls.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_COMMANTYPE          ICON    DISCARDABLE     "res\CommandBarControlsDoc.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Bitmap
  63. //
  64. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  65. IDR_TOOLBAR_COLOR       BITMAP  DISCARDABLE     "res\ToolbarColor.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_TOOLBAR_COLOR TOOLBAR DISCARDABLE  16, 15
  85. BEGIN
  86.     BUTTON      ID_COLOR_FORE
  87.     BUTTON      ID_COLOR_BACK
  88. END
  89. /////////////////////////////////////////////////////////////////////////////
  90. //
  91. // Menu
  92. //
  93. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  94. BEGIN
  95.     POPUP "&File"
  96.     BEGIN
  97.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  98.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  99.         MENUITEM SEPARATOR
  100.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  101.         MENUITEM SEPARATOR
  102.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  103.         MENUITEM SEPARATOR
  104.         MENUITEM "E&xit",                       ID_APP_EXIT
  105.     END
  106.     POPUP "&View"
  107.     BEGIN
  108.         POPUP "Toolbars"
  109.         BEGIN
  110.             MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  111.         END
  112.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  113.         MENUITEM SEPARATOR
  114.         POPUP "Theme"
  115.         BEGIN
  116.             MENUITEM "Office 2000",                 ID_VIEW_THEME_OFFICE2000
  117.             MENUITEM "Office XP",                   ID_VIEW_THEME_OFFICEXP
  118.             MENUITEM "Office 2003",                 ID_VIEW_THEME_OFFICE2003
  119.             MENUITEM "Windows XP",                  ID_VIEW_THEME_WINDOWSXP
  120.         END
  121.     END
  122.     POPUP "&Help"
  123.     BEGIN
  124.         MENUITEM "&About CommandBarControls...", ID_APP_ABOUT
  125.     END
  126. END
  127. IDR_COMMANTYPE MENU PRELOAD DISCARDABLE 
  128. BEGIN
  129.     POPUP "&File"
  130.     BEGIN
  131.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  132.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  133.         MENUITEM "&Close",                      ID_FILE_CLOSE
  134.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  135.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  136.         MENUITEM SEPARATOR
  137.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  138.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  139.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  140.         MENUITEM SEPARATOR
  141.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  142.         MENUITEM SEPARATOR
  143.         MENUITEM "E&xit",                       ID_APP_EXIT
  144.     END
  145.     POPUP "&Edit"
  146.     BEGIN
  147.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  148.         MENUITEM SEPARATOR
  149.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  150.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  151.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  152.     END
  153.     POPUP "&View"
  154.     BEGIN
  155.         POPUP "Toolbars"
  156.         BEGIN
  157.             MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  158.         END
  159.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  160.         MENUITEM SEPARATOR
  161.         POPUP "Theme"
  162.         BEGIN
  163.             MENUITEM "Office 2000",                 ID_VIEW_THEME_OFFICE2000
  164.             MENUITEM "Office XP",                   ID_VIEW_THEME_OFFICEXP
  165.             MENUITEM "Office 2003",                 ID_VIEW_THEME_OFFICE2003
  166.             MENUITEM "Windows XP",                  ID_VIEW_THEME_WINDOWSXP
  167.             MENUITEM "Whidbey",                     ID_VIEW_THEME_WHIDBEY
  168.             MENUITEM "Office 2007",                 ID_VIEW_THEME_OFFICE2007
  169.             MENUITEM "Ribbon",                      ID_VIEW_THEME_RIBBON
  170.         END
  171.     END
  172.     POPUP "&Window"
  173.     BEGIN
  174.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  175.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  176.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  177.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  178.         MENUITEM SEPARATOR
  179.         MENUITEM "Window List",                 35000
  180.     END
  181.     POPUP "&Help"
  182.     BEGIN
  183.         MENUITEM "&About CommandBarControls...", ID_APP_ABOUT
  184.     END
  185. END
  186. /////////////////////////////////////////////////////////////////////////////
  187. //
  188. // Accelerator
  189. //
  190. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  191. BEGIN
  192.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  193.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  194.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  195.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  196.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  197.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  198.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  199.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  200.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  201.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  202.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  203.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  204.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  205.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  206. END
  207. #ifndef _MAC
  208. /////////////////////////////////////////////////////////////////////////////
  209. //
  210. // Version
  211. //
  212. VS_VERSION_INFO VERSIONINFO
  213.  FILEVERSION 12,0,0,4
  214.  PRODUCTVERSION 12,0,0,4
  215.  FILEFLAGSMASK 0x3fL
  216. #ifdef _DEBUG
  217.  FILEFLAGS 0x1L
  218. #else
  219.  FILEFLAGS 0x0L
  220. #endif
  221.  FILEOS 0x4L
  222.  FILETYPE 0x1L
  223.  FILESUBTYPE 0x0L
  224. BEGIN
  225.     BLOCK "StringFileInfo"
  226.     BEGIN
  227.         BLOCK "040904B0"
  228.         BEGIN
  229.             VALUE "CompanyName", "Codejock Software"
  230.             VALUE "FileDescription", "CommandBarControls MFC Application"
  231.             VALUE "FileVersion", "12, 0, 0, 4"
  232.             VALUE "InternalName", "CommandBarControls"
  233.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  234.             VALUE "LegalTrademarks", ""
  235.             VALUE "OriginalFilename", "CommandBarControls.EXE"
  236.             VALUE "ProductName", "CommandBarControls Application"
  237.             VALUE "ProductVersion", "12, 0, 0, 4"
  238.         END
  239.     END
  240.     BLOCK "VarFileInfo"
  241.     BEGIN
  242.         VALUE "Translation", 0x409, 1200
  243.     END
  244. END
  245. #endif    // !_MAC
  246. /////////////////////////////////////////////////////////////////////////////
  247. //
  248. // String Table
  249. //
  250. STRINGTABLE PRELOAD DISCARDABLE 
  251. BEGIN
  252.     IDR_MAINFRAME           "CommandBarControls"
  253.     IDR_COMMANTYPE          "nCommannCommannnnCommandBarControls.DocumentnComman Document"
  254.     ID_CONTROL_GALLERY      "Gallery"
  255. END
  256. STRINGTABLE PRELOAD DISCARDABLE 
  257. BEGIN
  258.     AFX_IDS_APP_TITLE       "Codejock CommandBarControls Sample"
  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. #endif    // English (U.S.) resources
  360. /////////////////////////////////////////////////////////////////////////////
  361. #ifndef APSTUDIO_INVOKED
  362. /////////////////////////////////////////////////////////////////////////////
  363. //
  364. // Generated from the TEXTINCLUDE 3 resource.
  365. //
  366. #define _AFX_NO_SPLITTER_RESOURCES
  367. #define _AFX_NO_OLE_RESOURCES
  368. #define _AFX_NO_TRACKER_RESOURCES
  369. #define _AFX_NO_PROPERTY_RESOURCES
  370. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  371. #ifdef _WIN32
  372. LANGUAGE 9, 1
  373. #pragma code_page(1252)
  374. #endif //_WIN32
  375. #include "resCommandBarControls.rc2"  // non-Microsoft Visual C++ edited resources
  376. #include "afxres.rc"         // Standard components
  377. #include "afxprint.rc"       // printing/print preview resources
  378. #endif
  379. /////////////////////////////////////////////////////////////////////////////
  380. #endif    // not APSTUDIO_INVOKED