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

对话框与窗口

开发平台:

Visual C++

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