| 1 | ========================================================================
 | 
|---|
| 2 |        MICROSOFT FOUNDATION CLASS LIBRARY : Modbucfg
 | 
|---|
| 3 | ========================================================================
 | 
|---|
| 4 | 
 | 
|---|
| 5 | 
 | 
|---|
| 6 | AppWizard has created this Modbucfg 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 Modbucfg application.
 | 
|---|
| 12 | 
 | 
|---|
| 13 | Modbucfg.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 |     CModbucfgApp application class.
 | 
|---|
| 17 | 
 | 
|---|
| 18 | Modbucfg.cpp
 | 
|---|
| 19 |     This is the main application source file that contains the application
 | 
|---|
| 20 |     class CModbucfgApp.
 | 
|---|
| 21 | 
 | 
|---|
| 22 | Modbucfg.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\Modbucfg.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 Modbucfg.rc.
 | 
|---|
| 31 | 
 | 
|---|
| 32 | res\Modbucfg.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 | Modbucfg.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 | Modbucfg.odl
 | 
|---|
| 44 |     This file contains the Object Description Language source code for the
 | 
|---|
| 45 |     type library of your application.
 | 
|---|
| 46 | 
 | 
|---|
| 47 | Modbucfg.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 |     CMDIFrameWnd and controls all MDI 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 | /////////////////////////////////////////////////////////////////////////////
 | 
|---|
| 68 | 
 | 
|---|
| 69 | AppWizard creates one document type and one view:
 | 
|---|
| 70 | 
 | 
|---|
| 71 | ModbucfgDoc.h, ModbucfgDoc.cpp - the document
 | 
|---|
| 72 |     These files contain your CModbucfgDoc class.  Edit these files to
 | 
|---|
| 73 |     add your special document data and to implement file saving and loading
 | 
|---|
| 74 |     (via CModbucfgDoc::Serialize).
 | 
|---|
| 75 | 
 | 
|---|
| 76 | ModbucfgView.h, ModbucfgView.cpp - the view of the document
 | 
|---|
| 77 |     These files contain your CModbucfgView class.
 | 
|---|
| 78 |     CModbucfgView objects are used to view CModbucfgDoc objects.
 | 
|---|
| 79 | 
 | 
|---|
| 80 | res\ModbucfgDoc.ico
 | 
|---|
| 81 |     This is an icon file, which is used as the icon for MDI child windows
 | 
|---|
| 82 |     for the CModbucfgDoc class.  This icon is included by the main
 | 
|---|
| 83 |     resource file Modbucfg.rc.
 | 
|---|
| 84 | 
 | 
|---|
| 85 | 
 | 
|---|
| 86 | /////////////////////////////////////////////////////////////////////////////
 | 
|---|
| 87 | Other standard files:
 | 
|---|
| 88 | 
 | 
|---|
| 89 | StdAfx.h, StdAfx.cpp
 | 
|---|
| 90 |     These files are used to build a precompiled header (PCH) file
 | 
|---|
| 91 |     named Modbucfg.pch and a precompiled types file named StdAfx.obj.
 | 
|---|
| 92 | 
 | 
|---|
| 93 | Resource.h
 | 
|---|
| 94 |     This is the standard header file, which defines new resource IDs.
 | 
|---|
| 95 |     Microsoft Developer Studio reads and updates this file.
 | 
|---|
| 96 | 
 | 
|---|
| 97 | /////////////////////////////////////////////////////////////////////////////
 | 
|---|
| 98 | Other notes:
 | 
|---|
| 99 | 
 | 
|---|
| 100 | AppWizard uses "TODO:" to indicate parts of the source code you
 | 
|---|
| 101 | should add to or customize.
 | 
|---|
| 102 | 
 | 
|---|
| 103 | If your application uses MFC in a shared DLL, and your application is 
 | 
|---|
| 104 | in a language other than the operating system's current language, you
 | 
|---|
| 105 | will need to copy the corresponding localized resources MFC40XXX.DLL
 | 
|---|
| 106 | from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
 | 
|---|
| 107 | and rename it to be MFCLOC.DLL.  ("XXX" stands for the language abbreviation.
 | 
|---|
| 108 | For example, MFC40DEU.DLL contains resources translated to German.)  If you
 | 
|---|
| 109 | don't do this, some of the UI elements of your application will remain in the
 | 
|---|
| 110 | language of the operating system.
 | 
|---|
| 111 | 
 | 
|---|
| 112 | /////////////////////////////////////////////////////////////////////////////
 | 
|---|