home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 11 Learning / 01 Manslow / GPExample / ReadMe.txt < prev    next >
Encoding:
Text File  |  2001-10-07  |  3.7 KB  |  94 lines

  1. ========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : GPExample
  3. ========================================================================
  4.  
  5.  
  6. AppWizard has created this GPExample 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 GPExample application.
  12.  
  13. GPExample.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.     CGPExampleApp application class.
  17.  
  18. GPExample.cpp
  19.     This is the main application source file that contains the application
  20.     class CGPExampleApp.
  21.  
  22. GPExample.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\GPExample.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 GPExample.rc.
  31.  
  32. res\GPExample.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. GPExample.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. GPExampleDoc.h, GPExampleDoc.cpp - the document
  57.     These files contain your CGPExampleDoc class.  Edit these files to
  58.     add your special document data and to implement file saving and loading
  59.     (via CGPExampleDoc::Serialize).
  60.  
  61. GPExampleView.h, GPExampleView.cpp - the view of the document
  62.     These files contain your CGPExampleView class.
  63.     CGPExampleView objects are used to view CGPExampleDoc objects.
  64.  
  65.  
  66.  
  67. /////////////////////////////////////////////////////////////////////////////
  68. Other standard files:
  69.  
  70. StdAfx.h, StdAfx.cpp
  71.     These files are used to build a precompiled header (PCH) file
  72.     named GPExample.pch and a precompiled types file named StdAfx.obj.
  73.  
  74. Resource.h
  75.     This is the standard header file, which defines new resource IDs.
  76.     Microsoft Developer Studio reads and updates this file.
  77.  
  78. /////////////////////////////////////////////////////////////////////////////
  79. Other notes:
  80.  
  81. AppWizard uses "TODO:" to indicate parts of the source code you
  82. should add to or customize.
  83.  
  84. If your application uses MFC in a shared DLL, and your application is 
  85. in a language other than the operating system's current language, you
  86. will need to copy the corresponding localized resources MFC40XXX.DLL
  87. from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  88. and rename it to be MFCLOC.DLL.  ("XXX" stands for the language abbreviation.
  89. For example, MFC40DEU.DLL contains resources translated to German.)  If you
  90. don't do this, some of the UI elements of your application will remain in the
  91. language of the operating system.
  92.  
  93. /////////////////////////////////////////////////////////////////////////////
  94.