home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c05 / lab07 / ex01 / diff.rc < prev    next >
Encoding:
Text File  |  1997-02-20  |  11.7 KB  |  385 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE 
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE 
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE 
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#include ""res\\diff.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  49.     "#include ""afxres.rc""         // Standard components\r\n"
  50.     "#include ""afxprint.rc""       // printing/print preview resources\r\n"
  51.     "\0"
  52. END
  53.  
  54. #endif    // APSTUDIO_INVOKED
  55.  
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Icon
  60. //
  61.  
  62. // Icon with lowest ID value placed first to ensure application icon
  63. // remains consistent on all systems.
  64. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\diff.ico"
  65. IDR_DIFFTYPE            ICON    DISCARDABLE     "res\\diffDoc.ico"
  66.  
  67. /////////////////////////////////////////////////////////////////////////////
  68. //
  69. // Bitmap
  70. //
  71.  
  72. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
  73.  
  74. /////////////////////////////////////////////////////////////////////////////
  75. //
  76. // Toolbar
  77. //
  78.  
  79. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  80. BEGIN
  81.     BUTTON      ID_FILE_OPEN
  82.     SEPARATOR
  83.     BUTTON      ID_EDIT_CUT
  84.     BUTTON      ID_EDIT_COPY
  85.     BUTTON      ID_EDIT_PASTE
  86.     SEPARATOR
  87.     BUTTON      ID_FILE_PRINT
  88.     BUTTON      ID_APP_ABOUT
  89. END
  90.  
  91.  
  92. /////////////////////////////////////////////////////////////////////////////
  93. //
  94. // Menu
  95. //
  96.  
  97. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  98. BEGIN
  99.     POPUP "&File"
  100.     BEGIN
  101.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  102.         MENUITEM SEPARATOR
  103.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  104.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  105.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  106.         MENUITEM SEPARATOR
  107.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  108.         MENUITEM SEPARATOR
  109.         MENUITEM "E&xit",                       ID_APP_EXIT
  110.     END
  111.     POPUP "&Edit"
  112.     BEGIN
  113.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  114.         MENUITEM SEPARATOR
  115.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  116.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  117.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  118.     END
  119.     POPUP "&View"
  120.     BEGIN
  121.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  122.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  123.     END
  124.     POPUP "&Help"
  125.     BEGIN
  126.         MENUITEM "&About diff...",              ID_APP_ABOUT
  127.     END
  128. END
  129.  
  130.  
  131. /////////////////////////////////////////////////////////////////////////////
  132. //
  133. // Accelerator
  134. //
  135.  
  136. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  137. BEGIN
  138.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  139.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  140.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
  141.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  142.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  143.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  144.     VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  145.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  146.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  147.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  148.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  149.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  150. END
  151.  
  152.  
  153. /////////////////////////////////////////////////////////////////////////////
  154. //
  155. // Dialog
  156. //
  157.  
  158. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  159. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  160. CAPTION "About diff"
  161. FONT 8, "MS Sans Serif"
  162. BEGIN
  163.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  164.     LTEXT           "diff Version 1.0",IDC_STATIC,40,10,119,8
  165.     LTEXT           "Copyright ⌐ 1995",IDC_STATIC,40,25,119,8
  166.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  167. END
  168.  
  169. IDD_OPENFILES DIALOG DISCARDABLE  0, 0, 247, 93
  170. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  171. CAPTION "Open Files"
  172. FONT 8, "MS Sans Serif"
  173. BEGIN
  174.     LTEXT           "&Compare File:",IDC_STATIC,5,4,50,8
  175.     EDITTEXT        IDC_EDIT_FILE1,5,15,176,14,ES_AUTOHSCROLL
  176.     PUSHBUTTON      "&Browse",IDC_BUTTON_FILE1_BROWSE,199,15,40,14
  177.     LTEXT           "&With File:",IDC_STATIC,5,33,30,8
  178.     EDITTEXT        IDC_EDIT_FILE2,5,43,176,14,ES_AUTOHSCROLL
  179.     PUSHBUTTON      "Brow&se",IDC_BUTTON_FILE2_BROWSE,199,43,40,14
  180.     DEFPUSHBUTTON   "OK",IDOK,69,69,50,14
  181.     PUSHBUTTON      "Cancel",IDCANCEL,127,69,50,14
  182. END
  183.  
  184.  
  185. #ifndef _MAC
  186. /////////////////////////////////////////////////////////////////////////////
  187. //
  188. // Version
  189. //
  190.  
  191. VS_VERSION_INFO VERSIONINFO
  192.  FILEVERSION 1,0,0,1
  193.  PRODUCTVERSION 1,0,0,1
  194.  FILEFLAGSMASK 0x3fL
  195. #ifdef _DEBUG
  196.  FILEFLAGS 0x1L
  197. #else
  198.  FILEFLAGS 0x0L
  199. #endif
  200.  FILEOS 0x4L
  201.  FILETYPE 0x1L
  202.  FILESUBTYPE 0x0L
  203. BEGIN
  204.     BLOCK "StringFileInfo"
  205.     BEGIN
  206.         BLOCK "040904B0"
  207.         BEGIN
  208.             VALUE "CompanyName", "\0"
  209.             VALUE "FileDescription", "DIFF MFC Application\0"
  210.             VALUE "FileVersion", "1, 0, 0, 1\0"
  211.             VALUE "InternalName", "DIFF\0"
  212.             VALUE "LegalCopyright", "Copyright ⌐ 1995\0"
  213.             VALUE "LegalTrademarks", "\0"
  214.             VALUE "OriginalFilename", "DIFF.EXE\0"
  215.             VALUE "ProductName", "DIFF Application\0"
  216.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  217.         END
  218.     END
  219.     BLOCK "VarFileInfo"
  220.     BEGIN
  221.         VALUE "Translation", 0x409, 1200
  222.     END
  223. END
  224.  
  225. #endif    // !_MAC
  226.  
  227.  
  228. /////////////////////////////////////////////////////////////////////////////
  229. //
  230. // DESIGNINFO
  231. //
  232.  
  233. #ifdef APSTUDIO_INVOKED
  234. GUIDELINES DESIGNINFO DISCARDABLE 
  235. BEGIN
  236.     IDD_ABOUTBOX, DIALOG
  237.     BEGIN
  238.         LEFTMARGIN, 7
  239.         RIGHTMARGIN, 210
  240.         TOPMARGIN, 7
  241.         BOTTOMMARGIN, 48
  242.     END
  243.  
  244.     IDD_OPENFILES, DIALOG
  245.     BEGIN
  246.         LEFTMARGIN, 7
  247.         RIGHTMARGIN, 240
  248.         TOPMARGIN, 7
  249.         BOTTOMMARGIN, 86
  250.     END
  251. END
  252. #endif    // APSTUDIO_INVOKED
  253.  
  254.  
  255. /////////////////////////////////////////////////////////////////////////////
  256. //
  257. // String Table
  258. //
  259.  
  260. STRINGTABLE PRELOAD DISCARDABLE 
  261. BEGIN
  262.     IDR_MAINFRAME           "diff\n\nDiff\nDiff Files (*.dif)\n.DIF\nDiff.Document\nDiff Document"
  263. END
  264.  
  265. STRINGTABLE PRELOAD DISCARDABLE 
  266. BEGIN
  267.     AFX_IDS_APP_TITLE       "diff"
  268.     AFX_IDS_IDLEMESSAGE     "Ready"
  269. END
  270.  
  271. STRINGTABLE DISCARDABLE 
  272. BEGIN
  273.     ID_INDICATOR_EXT        "EXT"
  274.     ID_INDICATOR_CAPS       "CAP"
  275.     ID_INDICATOR_NUM        "NUM"
  276.     ID_INDICATOR_SCRL       "SCRL"
  277.     ID_INDICATOR_OVR        "OVR"
  278.     ID_INDICATOR_REC        "REC"
  279. END
  280.  
  281. STRINGTABLE DISCARDABLE 
  282. BEGIN
  283.     ID_FILE_NEW             "Create a new document\nNew"
  284.     ID_FILE_OPEN            "Open an existing document\nOpen"
  285.     ID_FILE_CLOSE           "Close the active document\nClose"
  286.     ID_FILE_SAVE            "Save the active document\nSave"
  287.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  288.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  289.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  290.     ID_FILE_PRINT           "Print the active document\nPrint"
  291.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  292. END
  293.  
  294. STRINGTABLE DISCARDABLE 
  295. BEGIN
  296.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  297.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  298. END
  299.  
  300. STRINGTABLE DISCARDABLE 
  301. BEGIN
  302.     ID_FILE_MRU_FILE1       "Open this document"
  303.     ID_FILE_MRU_FILE2       "Open this document"
  304.     ID_FILE_MRU_FILE3       "Open this document"
  305.     ID_FILE_MRU_FILE4       "Open this document"
  306. END
  307.  
  308. STRINGTABLE DISCARDABLE 
  309. BEGIN
  310.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  311.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  312. END
  313.  
  314. STRINGTABLE DISCARDABLE 
  315. BEGIN
  316.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  317. END
  318.  
  319. STRINGTABLE DISCARDABLE 
  320. BEGIN
  321.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  322.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  323.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  324.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  325.     ID_EDIT_FIND            "Find the specified text\nFind"
  326.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  327.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  328.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  329.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  330.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  331.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  332. END
  333.  
  334. STRINGTABLE DISCARDABLE 
  335. BEGIN
  336.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  337.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  338. END
  339.  
  340. STRINGTABLE DISCARDABLE 
  341. BEGIN
  342.     AFX_IDS_SCSIZE          "Change the window size"
  343.     AFX_IDS_SCMOVE          "Change the window position"
  344.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  345.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  346.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  347.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  348.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  349. END
  350.  
  351. STRINGTABLE DISCARDABLE 
  352. BEGIN
  353.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  354.     AFX_IDS_SCTASKLIST      "Activate Task List"
  355. END
  356.  
  357. STRINGTABLE DISCARDABLE 
  358. BEGIN
  359.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  360.     IDS_ERRFMT_INVALIDFILE  "Either \r\n\n\\%1\r\n\t\\OR\r\n\\%2\r\n\nis an invalid file. Please check both file specifications and try again."
  361. END
  362.  
  363. #endif    // English (U.S.) resources
  364. /////////////////////////////////////////////////////////////////////////////
  365.  
  366.  
  367.  
  368. #ifndef APSTUDIO_INVOKED
  369. /////////////////////////////////////////////////////////////////////////////
  370. //
  371. // Generated from the TEXTINCLUDE 3 resource.
  372. //
  373. #define _AFX_NO_SPLITTER_RESOURCES
  374. #define _AFX_NO_OLE_RESOURCES
  375. #define _AFX_NO_TRACKER_RESOURCES
  376. #define _AFX_NO_PROPERTY_RESOURCES
  377.  
  378. #include "res\diff.rc2"  // non-Microsoft Visual C++ edited resources
  379. #include "afxres.rc"         // Standard components
  380. #include "afxprint.rc"       // printing/print preview resources
  381.  
  382. /////////////////////////////////////////////////////////////////////////////
  383. #endif    // not APSTUDIO_INVOKED
  384.  
  385.