home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c10 / lab01 / baseline / readme.txt < prev    next >
Encoding:
Text File  |  1997-02-20  |  4.4 KB  |  109 lines

  1. ========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : Browser
  3. ========================================================================
  4.  
  5.  
  6. AppWizard has created this Browser application for you.  This application
  7. not only demonstrates the basics of using the Microsoft Foundation classes
  8. but is also a starting point for writing your application.
  9.  
  10. This file contains a summary of what you will find in each of the files that
  11. make up your Browser application.
  12.  
  13. Browser.h
  14.     This is the main header file for the application.  It includes other
  15.     project specific headers (including Resource.h) and declares the
  16.     CBrowserApp application class.
  17.  
  18. Browser.cpp
  19.     This is the main application source file that contains the application
  20.     class CBrowserApp.
  21.  
  22. Browser.rc
  23.     This is a listing of all of the Microsoft Windows resources that the
  24.     program uses.  It includes the icons, bitmaps, and cursors that are stored
  25.     in the RES subdirectory.  This file can be directly edited in Microsoft
  26.     Developer Studio.
  27.  
  28. res\Browser.ico
  29.     This is an icon file, which is used as the application's icon.  This
  30.     icon is included by the main resource file Browser.rc.
  31.  
  32. res\Browser.rc2
  33.     This file contains resources that are not edited by Microsoft 
  34.     Developer Studio.  You should place all resources not
  35.     editable by the resource editor in this file.
  36.  
  37. Browser.reg
  38.     This is an example .REG file that shows you the kind of registration
  39.     settings the framework will set for you.  You can use this as a .REG
  40.     file to go along with your application or just delete it and rely
  41.     on the default RegisterShellFileTypes registration.
  42.  
  43. Browser.clw
  44.     This file contains information used by ClassWizard to edit existing
  45.     classes or add new classes.  ClassWizard also uses this file to store
  46.     information needed to create and edit message maps and dialog data
  47.     maps and to create prototype member functions.
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.  
  51. For the main frame window:
  52.  
  53. MainFrm.h, MainFrm.cpp
  54.     These files contain the frame class CMainFrame, which is derived from
  55.     CMDIFrameWnd and controls all MDI frame features.
  56.  
  57. res\Toolbar.bmp
  58.     This bitmap file is used to create tiled images for the toolbar.
  59.     The initial toolbar and status bar are constructed in the
  60.     CMainFrame class.  Edit this toolbar bitmap along with the
  61.     array in MainFrm.cpp to add more toolbar buttons.
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.  
  65. AppWizard creates one document type and one view:
  66.  
  67. BrowserDoc.h, BrowserDoc.cpp - the document
  68.     These files contain your CBrowserDoc class.  Edit these files to
  69.     add your special document data and to implement file saving and loading
  70.     (via CBrowserDoc::Serialize).
  71.  
  72. BrowserView.h, BrowserView.cpp - the view of the document
  73.     These files contain your CBrowserView class.
  74.     CBrowserView objects are used to view CBrowserDoc objects.
  75.  
  76. res\BrowserDoc.ico
  77.     This is an icon file, which is used as the icon for MDI child windows
  78.     for the CBrowserDoc class.  This icon is included by the main
  79.     resource file Browser.rc.
  80.  
  81.  
  82. /////////////////////////////////////////////////////////////////////////////
  83. Other standard files:
  84.  
  85. StdAfx.h, StdAfx.cpp
  86.     These files are used to build a precompiled header (PCH) file
  87.     named Browser.pch and a precompiled types file named StdAfx.obj.
  88.  
  89. Resource.h
  90.     This is the standard header file, which defines new resource IDs.
  91.     Microsoft Developer Studio reads and updates this file.
  92.  
  93. /////////////////////////////////////////////////////////////////////////////
  94. Other notes:
  95.  
  96. AppWizard uses "TODO:" to indicate parts of the source code you
  97. should add to or customize.
  98.  
  99. If your application uses MFC in a shared DLL, and your application is 
  100. in a language other than the operating system's current language, you
  101. will need to copy the corresponding localized resources MFC40XXX.DLL
  102. from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  103. and rename it to be MFCLOC.DLL.  ("XXX" stands for the language abbreviation.
  104. For example, MFC40DEU.DLL contains resources translated to German.)  If you
  105. don't do this, some of the UI elements of your application will remain in the
  106. language of the operating system.
  107.  
  108. /////////////////////////////////////////////////////////////////////////////
  109.