home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c06 / lab05 / baseline / diff.rc < prev    next >
Encoding:
Text File  |  1997-02-20  |  13.5 KB  |  442 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 "E&xit",                       ID_APP_EXIT
  108.     END
  109.     POPUP "&Edit"
  110.     BEGIN
  111.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  112.         MENUITEM SEPARATOR
  113.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  114.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  115.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  116.         MENUITEM SEPARATOR
  117.         MENUITEM "&Find...",                    ID_EDIT_FIND
  118.         MENUITEM "Find &Difference...",         ID_EDIT_FIND_DIFFERENCE
  119.     END
  120.     POPUP "&View"
  121.     BEGIN
  122.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  123.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  124.     END
  125.     POPUP "&Help"
  126.     BEGIN
  127.         MENUITEM "&About diff...",              ID_APP_ABOUT
  128.     END
  129. END
  130.  
  131. IDR_POPUP_DIFF_VIEW MENU DISCARDABLE 
  132. BEGIN
  133.     POPUP "_POPUP_"
  134.     BEGIN
  135.         MENUITEM "Copy",                        ID_EDIT_COPY
  136.         MENUITEM SEPARATOR
  137.         MENUITEM "Find...",                     ID_EDIT_FIND
  138.         MENUITEM SEPARATOR
  139.         MENUITEM "Font...",                     ID_EDIT_FONT
  140.         POPUP "Color"
  141.         BEGIN
  142.             MENUITEM "Foreground",                  IDC_EDIT_COLOR_FOREGROUND
  143.  
  144.             MENUITEM "Background...",               IDC_EDIT_COLOR_BACKGROUND
  145.  
  146.         END
  147.     END
  148. END
  149.  
  150.  
  151. /////////////////////////////////////////////////////////////////////////////
  152. //
  153. // Accelerator
  154. //
  155.  
  156. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  157. BEGIN
  158.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  159.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  160.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  161.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  162.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  163.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  164.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  165.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  166.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  167.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  168.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  169.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  170.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  171.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  172. END
  173.  
  174.  
  175. /////////////////////////////////////////////////////////////////////////////
  176. //
  177. // Dialog
  178. //
  179.  
  180. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  181. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  182. CAPTION "About diff"
  183. FONT 8, "MS Sans Serif"
  184. BEGIN
  185.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  186.     LTEXT           "diff Version 1.0",IDC_STATIC,40,10,119,8
  187.     LTEXT           "Copyright ⌐ 1995",IDC_STATIC,40,25,119,8
  188.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  189. END
  190.  
  191. IDD_OPENFILES DIALOG DISCARDABLE  0, 0, 276, 119
  192. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  193. CAPTION "Open Files"
  194. FONT 8, "MS Sans Serif"
  195. BEGIN
  196.     EDITTEXT        IDC_EDIT_FILE1,20,28,179,13,ES_AUTOHSCROLL
  197.     PUSHBUTTON      "Browse...",IDC_BUTTON_FILE1_BROWSE,206,27,50,14
  198.     EDITTEXT        IDC_EDIT_FILE2,20,60,179,13,ES_AUTOHSCROLL
  199.     PUSHBUTTON      "Browse...",IDC_BUTTON_FILE2_BROWSE,205,59,50,14
  200.     DEFPUSHBUTTON   "OK",IDOK,79,90,50,14
  201.     PUSHBUTTON      "Cancel",IDCANCEL,146,90,50,14
  202.     LTEXT           "Compare File:",IDC_STATIC,20,19,75,8
  203.     LTEXT           "With File:",IDC_STATIC,20,51,30,8
  204. END
  205.  
  206. IDD_NEXTDIFF DIALOG DISCARDABLE  0, 0, 186, 130
  207. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  208. CAPTION "Find Difference"
  209. FONT 8, "MS Sans Serif"
  210. BEGIN
  211.     CONTROL         "&Next Difference",IDC_RADIO_NEXTDIFF,"Button",
  212.                     BS_AUTORADIOBUTTON,19,22,85,10
  213.     CONTROL         "Next &Equal Sequence",IDC_RADIO_NEXTEQUAL,"Button",
  214.                     BS_AUTORADIOBUTTON,19,37,85,10
  215.     CONTROL         "&Up",IDC_RADIO_UP,"Button",BS_AUTORADIOBUTTON,19,75,35,
  216.                     10
  217.     CONTROL         "&Down",IDC_RADIO_DOWN,"Button",BS_AUTORADIOBUTTON,19,90,
  218.                     35,10
  219.     DEFPUSHBUTTON   "Find Next...",IDOK,129,7,50,14
  220.     PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
  221.     GROUPBOX        "Find",IDC_STATIC,7,7,112,50
  222.     GROUPBOX        "Direction",IDC_STATIC,7,62,112,40
  223. END
  224.  
  225.  
  226. #ifndef _MAC
  227. /////////////////////////////////////////////////////////////////////////////
  228. //
  229. // Version
  230. //
  231.  
  232. VS_VERSION_INFO VERSIONINFO
  233.  FILEVERSION 1,0,0,1
  234.  PRODUCTVERSION 1,0,0,1
  235.  FILEFLAGSMASK 0x3fL
  236. #ifdef _DEBUG
  237.  FILEFLAGS 0x1L
  238. #else
  239.  FILEFLAGS 0x0L
  240. #endif
  241.  FILEOS 0x4L
  242.  FILETYPE 0x1L
  243.  FILESUBTYPE 0x0L
  244. BEGIN
  245.     BLOCK "StringFileInfo"
  246.     BEGIN
  247.         BLOCK "040904B0"
  248.         BEGIN
  249.             VALUE "CompanyName", "\0"
  250.             VALUE "FileDescription", "DIFF MFC Application\0"
  251.             VALUE "FileVersion", "1, 0, 0, 1\0"
  252.             VALUE "InternalName", "DIFF\0"
  253.             VALUE "LegalCopyright", "Copyright ⌐ 1995\0"
  254.             VALUE "LegalTrademarks", "\0"
  255.             VALUE "OriginalFilename", "DIFF.EXE\0"
  256.             VALUE "ProductName", "DIFF Application\0"
  257.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  258.         END
  259.     END
  260.     BLOCK "VarFileInfo"
  261.     BEGIN
  262.         VALUE "Translation", 0x409, 1200
  263.     END
  264. END
  265.  
  266. #endif    // !_MAC
  267.  
  268.  
  269. /////////////////////////////////////////////////////////////////////////////
  270. //
  271. // DESIGNINFO
  272. //
  273.  
  274. #ifdef APSTUDIO_INVOKED
  275. GUIDELINES DESIGNINFO DISCARDABLE 
  276. BEGIN
  277.     IDD_ABOUTBOX, DIALOG
  278.     BEGIN
  279.         LEFTMARGIN, 7
  280.         RIGHTMARGIN, 210
  281.         TOPMARGIN, 7
  282.         BOTTOMMARGIN, 48
  283.     END
  284.  
  285.     IDD_OPENFILES, DIALOG
  286.     BEGIN
  287.         LEFTMARGIN, 7
  288.         RIGHTMARGIN, 269
  289.         TOPMARGIN, 7
  290.         BOTTOMMARGIN, 112
  291.     END
  292.  
  293.     IDD_NEXTDIFF, DIALOG
  294.     BEGIN
  295.         LEFTMARGIN, 7
  296.         RIGHTMARGIN, 179
  297.         TOPMARGIN, 7
  298.         BOTTOMMARGIN, 123
  299.     END
  300. END
  301. #endif    // APSTUDIO_INVOKED
  302.  
  303.  
  304. /////////////////////////////////////////////////////////////////////////////
  305. //
  306. // String Table
  307. //
  308.  
  309. STRINGTABLE PRELOAD DISCARDABLE 
  310. BEGIN
  311.     IDR_MAINFRAME           "ShowDiff\n\nText\nText Files (*.txt)\n.DIF\nDiff.Document\nDiff Document"
  312. END
  313.  
  314. STRINGTABLE PRELOAD DISCARDABLE 
  315. BEGIN
  316.     AFX_IDS_APP_TITLE       "diff"
  317.     AFX_IDS_IDLEMESSAGE     "Ready"
  318. END
  319.  
  320. STRINGTABLE DISCARDABLE 
  321. BEGIN
  322.     ID_INDICATOR_EXT        "EXT"
  323.     ID_INDICATOR_CAPS       "CAP"
  324.     ID_INDICATOR_NUM        "NUM"
  325.     ID_INDICATOR_SCRL       "SCRL"
  326.     ID_INDICATOR_OVR        "OVR"
  327.     ID_INDICATOR_REC        "REC"
  328. END
  329.  
  330. STRINGTABLE DISCARDABLE 
  331. BEGIN
  332.     ID_FILE_NEW             "Create a new document\nNew"
  333.     ID_FILE_OPEN            "Open files for comparison\nCompare"
  334.     ID_FILE_CLOSE           "Close the active document\nClose"
  335.     ID_FILE_SAVE            "Save the active document\nSave"
  336.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  337.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  338.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  339.     ID_FILE_PRINT           "Print the active document\nPrint"
  340.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  341. END
  342.  
  343. STRINGTABLE DISCARDABLE 
  344. BEGIN
  345.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  346.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  347. END
  348.  
  349. STRINGTABLE DISCARDABLE 
  350. BEGIN
  351.     ID_FILE_MRU_FILE1       "Open this document"
  352.     ID_FILE_MRU_FILE2       "Open this document"
  353.     ID_FILE_MRU_FILE3       "Open this document"
  354.     ID_FILE_MRU_FILE4       "Open this document"
  355. END
  356.  
  357. STRINGTABLE DISCARDABLE 
  358. BEGIN
  359.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  360.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  361. END
  362.  
  363. STRINGTABLE DISCARDABLE 
  364. BEGIN
  365.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  366. END
  367.  
  368. STRINGTABLE DISCARDABLE 
  369. BEGIN
  370.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  371.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  372.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  373.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  374.     ID_EDIT_FIND            "Find the specified text\nFind"
  375.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  376.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  377.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  378.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  379.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  380.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  381. END
  382.  
  383. STRINGTABLE DISCARDABLE 
  384. BEGIN
  385.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  386.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  387. END
  388.  
  389. STRINGTABLE DISCARDABLE 
  390. BEGIN
  391.     AFX_IDS_SCSIZE          "Change the window size"
  392.     AFX_IDS_SCMOVE          "Change the window position"
  393.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  394.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  395.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  396.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  397.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  398. END
  399.  
  400. STRINGTABLE DISCARDABLE 
  401. BEGIN
  402.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  403.     AFX_IDS_SCTASKLIST      "Activate Task List"
  404. END
  405.  
  406. STRINGTABLE DISCARDABLE 
  407. BEGIN
  408.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  409.     IDS_ERRFMT_INVALIDFILE  "Either\r\n\n%1\r\n\tOR\r\n%2\r\n\nis an invalid file. Please check both file specifications and try again."
  410.     IDS_COMPARING           "Comparing Files..."
  411. END
  412.  
  413. STRINGTABLE DISCARDABLE 
  414. BEGIN
  415.     ID_EDIT_FONT            "Set the font for display"
  416.     IDC_EDIT_COLOR_FOREGROUND "Set the text foreground color"
  417.     IDC_EDIT_COLOR_BACKGROUND "Set the text background color"
  418. END
  419.  
  420. #endif    // English (U.S.) resources
  421. /////////////////////////////////////////////////////////////////////////////
  422.  
  423.  
  424.  
  425. #ifndef APSTUDIO_INVOKED
  426. /////////////////////////////////////////////////////////////////////////////
  427. //
  428. // Generated from the TEXTINCLUDE 3 resource.
  429. //
  430. #define _AFX_NO_SPLITTER_RESOURCES
  431. #define _AFX_NO_OLE_RESOURCES
  432. #define _AFX_NO_TRACKER_RESOURCES
  433. #define _AFX_NO_PROPERTY_RESOURCES
  434.  
  435. #include "res\diff.rc2"  // non-Microsoft Visual C++ edited resources
  436. #include "afxres.rc"         // Standard components
  437. #include "afxprint.rc"       // printing/print preview resources
  438.  
  439. /////////////////////////////////////////////////////////////////////////////
  440. #endif    // not APSTUDIO_INVOKED
  441.  
  442.