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

对话框与窗口

开发平台:

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