home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap04 / lst42 / readme.txt < prev    next >
Encoding:
Text File  |  1996-09-26  |  5.1 KB  |  126 lines

  1. ========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : lst42
  3. ========================================================================
  4.  
  5.  
  6. AppWizard has created this lst42 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 lst42 application.
  12.  
  13. lst42.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.     CLst42App application class.
  17.  
  18. lst42.cpp
  19.     This is the main application source file that contains the application
  20.     class CLst42App.
  21.  
  22. lst42.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\lst42.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 lst42.rc.
  31.  
  32. res\lst42.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. lst42.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. lst42.odl
  44.     This file contains the Object Description Language source code for the
  45.     type library of your application.
  46.  
  47. lst42.clw
  48.     This file contains information used by ClassWizard to edit existing
  49.     classes or add new classes.  ClassWizard also uses this file to store
  50.     information needed to create and edit message maps and dialog data
  51.     maps and to create prototype member functions.
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.  
  55. For the main frame window:
  56.  
  57. MainFrm.h, MainFrm.cpp
  58.     These files contain the frame class CMainFrame, which is derived from
  59.     CFrameWnd and controls all SDI frame features.
  60.  
  61. res\Toolbar.bmp
  62.     This bitmap file is used to create tiled images for the toolbar.
  63.     The initial toolbar and status bar are constructed in the
  64.     CMainFrame class.  Edit this toolbar bitmap along with the
  65.     array in MainFrm.cpp to add more toolbar buttons.
  66.  
  67. res\IToolbar.bmp
  68.     This bitmap file is used to create tiled images for the toolbar
  69.     when your server application is in-place activated inside another
  70.     container.  This toolbar is constructed in the CInPlaceFrame
  71.     class.  This bitmap is similar to the bitmap in res\Toolbar.bmp
  72.     except that it has many non-server commands removed.
  73.  
  74. /////////////////////////////////////////////////////////////////////////////
  75.  
  76. AppWizard creates one document type and one view:
  77.  
  78. lst42Doc.h, lst42Doc.cpp - the document
  79.     These files contain your CLst42Doc class.  Edit these files to
  80.     add your special document data and to implement file saving and loading
  81.     (via CLst42Doc::Serialize).
  82.  
  83. lst42View.h, lst42View.cpp - the view of the document
  84.     These files contain your CLst42View class.
  85.     CLst42View objects are used to view CLst42Doc objects.
  86.  
  87.  
  88. /////////////////////////////////////////////////////////////////////////////
  89.  
  90. AppWizard has also created classes specific to OLE
  91.  
  92. SrvrItem.h, SrvrItem.cpp - this class is used to
  93.     connect your CLst42Doc class to the OLE system, and optionally
  94.     provide links to your document.
  95. IpFrame.h, IpFrame.cpp - this class is derived
  96.     from COleIPFrameWnd and controls all frame features during
  97.     in-place activation.
  98.  
  99. /////////////////////////////////////////////////////////////////////////////
  100. Other standard files:
  101.  
  102. StdAfx.h, StdAfx.cpp
  103.     These files are used to build a precompiled header (PCH) file
  104.     named lst42.pch and a precompiled types file named StdAfx.obj.
  105.  
  106. Resource.h
  107.     This is the standard header file, which defines new resource IDs.
  108.     Microsoft Developer Studio reads and updates this file.
  109.  
  110. /////////////////////////////////////////////////////////////////////////////
  111. Other notes:
  112.  
  113. AppWizard uses "TODO:" to indicate parts of the source code you
  114. should add to or customize.
  115.  
  116. If your application uses MFC in a shared DLL, and your application is 
  117. in a language other than the operating system's current language, you
  118. will need to copy the corresponding localized resources MFC40XXX.DLL
  119. from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  120. and rename it to be MFCLOC.DLL.  ("XXX" stands for the language abbreviation.
  121. For example, MFC40DEU.DLL contains resources translated to German.)  If you
  122. don't do this, some of the UI elements of your application will remain in the
  123. language of the operating system.
  124.  
  125. /////////////////////////////////////////////////////////////////////////////
  126.