home *** CD-ROM | disk | FTP | other *** search
/ Using Visual C++ 4 (Special Edition) / Using_Visual_C_4_Special_Edition_QUE_1996.iso / ch08 / ocontain / readme.txt < prev    next >
Encoding:
Text File  |  1995-09-22  |  4.0 KB  |  102 lines

  1. ========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : OContain
  3. ========================================================================
  4.  
  5.  
  6. AppWizard has created this OContain 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 OContain application.
  12.  
  13. OContain.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.     CContainApp application class.
  17.  
  18. OContain.cpp
  19.     This is the main application source file that contains the application
  20.     class CContainApp.
  21.  
  22. OContain.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\OContain.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 OContain.rc.
  31.  
  32. res\OContain.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. OContain.clw
  38.     This file contains information used by ClassWizard to edit existing
  39.     classes or add new classes.  ClassWizard also uses this file to store
  40.     information needed to create and edit message maps and dialog data
  41.     maps and to create prototype member functions.
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44.  
  45. For the main frame window:
  46.  
  47. MainFrm.h, MainFrm.cpp
  48.     These files contain the frame class CMainFrame, which is derived from
  49.     CFrameWnd and controls all SDI frame features.
  50.  
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.  
  54. AppWizard creates one document type and one view:
  55.  
  56. ContainDoc.h, ContainDoc.cpp - the document
  57.     These files contain your CContainDoc class.  Edit these files to
  58.     add your special document data and to implement file saving and loading
  59.     (via CContainDoc::Serialize).
  60.  
  61. ContainView.h, ContainView.cpp - the view of the document
  62.     These files contain your CContainView class.
  63.     CContainView objects are used to view CContainDoc objects.
  64.  
  65.  
  66. /////////////////////////////////////////////////////////////////////////////
  67.  
  68. AppWizard has also created classes specific to OLE
  69.  
  70. CntrItem.h, CntrItem.cpp - this class is used to
  71.     manipulate OLE objects.  They are usually displayed by your
  72.     CContainView class and serialized as part of your CContainDoc class.
  73.  
  74.  
  75. /////////////////////////////////////////////////////////////////////////////
  76. Other standard files:
  77.  
  78. StdAfx.h, StdAfx.cpp
  79.     These files are used to build a precompiled header (PCH) file
  80.     named OContain.pch and a precompiled types file named StdAfx.obj.
  81.  
  82. Resource.h
  83.     This is the standard header file, which defines new resource IDs.
  84.     Microsoft Developer Studio reads and updates this file.
  85.  
  86. /////////////////////////////////////////////////////////////////////////////
  87. Other notes:
  88.  
  89. AppWizard uses "TODO:" to indicate parts of the source code you
  90. should add to or customize.
  91.  
  92. If your application uses MFC in a shared DLL, and your application is 
  93. in a language other than the operating system's current language, you
  94. will need to copy the corresponding localized resources MFC40XXX.DLL
  95. from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  96. and rename it to be MFCLOC.DLL.  ("XXX" stands for the language abbreviation.
  97. For example, MFC40DEU.DLL contains resources translated to German.)  If you
  98. don't do this, some of the UI elements of your application will remain in the
  99. language of the operating system.
  100.  
  101. /////////////////////////////////////////////////////////////////////////////
  102.