Debian Codegraph @

Tests/MFC/mfc1/ReadMe.txt

raw
1 ================================================================================
2 MICROSOFT FOUNDATION CLASS LIBRARY : mfc1 Project Overview
3 ===============================================================================
4
5 The application wizard has created this mfc1 application for
6 you. This application not only demonstrates the basics of using the Microsoft
7 Foundation Classes but is also a starting point for writing your application.
8
9 This file contains a summary of what you will find in each of the files that
10 make up your mfc1 application.
11
12 mfc1.vcproj
13 This is the main project file for VC++ projects generated using an application wizard.
14 It contains information about the version of Visual C++ that generated the file, and
15 information about the platforms, configurations, and project features selected with the
16 application wizard.
17
18 mfc1.h
19 This is the main header file for the application. It includes other
20 project specific headers (including Resource.h) and declares the
21 Cmfc1App application class.
22
23 mfc1.cpp
24 This is the main application source file that contains the application
25 class Cmfc1App.
26
27 mfc1.rc
28 This is a listing of all of the Microsoft Windows resources that the
29 program uses. It includes the icons, bitmaps, and cursors that are stored
30 in the RES subdirectory. This file can be directly edited in Microsoft
31 Visual C++. Your project resources are in 1033.
32
33 res\mfc1.ico
34 This is an icon file, which is used as the application's icon. This
35 icon is included by the main resource file mfc1.rc.
36
37 res\mfc1.rc2
38 This file contains resources that are not edited by Microsoft
39 Visual C++. You should place all resources not editable by
40 the resource editor in this file.
41 mfc1.reg
42 This is an example .reg file that shows you the kind of registration
43 settings the framework will set for you. You can use this as a .reg
44 file to go along with your application or just delete it and rely
45 on the default RegisterShellFileTypes registration.
46 /////////////////////////////////////////////////////////////////////////////
47
48 For the main frame window:
49 The project includes a standard MFC interface.
50 MainFrm.h, MainFrm.cpp
51 These files contain the frame class CMainFrame, which is derived from
52 CMDIFrameWnd and controls all MDI frame features.
53 res\Toolbar.bmp
54 This bitmap file is used to create tiled images for the toolbar.
55 The initial toolbar and status bar are constructed in the CMainFrame
56 class. Edit this toolbar bitmap using the resource editor, and
57 update the IDR_MAINFRAME TOOLBAR array in mfc1.rc to add
58 toolbar buttons.
59 /////////////////////////////////////////////////////////////////////////////
60
61 For the child frame window:
62
63 ChildFrm.h, ChildFrm.cpp
64 These files define and implement the CChildFrame class, which
65 supports the child windows in an MDI application.
66
67 /////////////////////////////////////////////////////////////////////////////
68
69 The application wizard creates one document type and one view:
70
71 mfc1Doc.h, mfc1Doc.cpp - the document
72 These files contain your Cmfc1Doc class. Edit these files to
73 add your special document data and to implement file saving and loading
74 (via Cmfc1Doc::Serialize).
75 The Document will have the following strings:
76 File extension: mf1
77 File type ID: mfc1.Document
78 Main frame caption: mfc1
79 Doc type name: mfc1
80 Filter name: mfc1 Files (*.mf1)
81 File new short name: mfc1
82 File type long name: mfc1.Document
83 mfc1View.h, mfc1View.cpp - the view of the document
84 These files contain your Cmfc1View class.
85 Cmfc1View objects are used to view Cmfc1Doc objects.
86 res\mfc1Doc.ico
87 This is an icon file, which is used as the icon for MDI child windows
88 for the Cmfc1Doc class. This icon is included by the main
89 resource file mfc1.rc.
90 /////////////////////////////////////////////////////////////////////////////
91
92 Other Features:
93
94 ActiveX Controls
95 The application includes support to use ActiveX controls.
96
97 Printing and Print Preview support
98 The application wizard has generated code to handle the print, print setup, and print preview
99 commands by calling member functions in the CView class from the MFC library.
100 /////////////////////////////////////////////////////////////////////////////
101
102 Other standard files:
103
104 StdAfx.h, StdAfx.cpp
105 These files are used to build a precompiled header (PCH) file
106 named mfc1.pch and a precompiled types file named StdAfx.obj.
107
108 Resource.h
109 This is the standard header file, which defines new resource IDs.
110 Microsoft Visual C++ reads and updates this file.
111
112 mfc1.manifest
113 Application manifest files are used by Windows XP to describe an applications
114 dependency on specific versions of Side-by-Side assemblies. The loader uses this
115 information to load the appropriate assembly from the assembly cache or private
116 from the application. The Application manifest maybe included for redistribution
117 as an external .manifest file that is installed in the same folder as the application
118 executable or it may be included in the executable in the form of a resource.
119 /////////////////////////////////////////////////////////////////////////////
120
121 Other notes:
122
123 The application wizard uses "TODO:" to indicate parts of the source code you
124 should add to or customize.
125
126 If your application uses MFC in a shared DLL, and your application is in a
127 language other than the operating system's current language, you will need
128 to copy the corresponding localized resources MFC70XXX.DLL from the Microsoft
129 Visual C++ CD-ROM under the Win\System directory to your computer's system or
130 system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the
131 language abbreviation. For example, MFC70DEU.DLL contains resources
132 translated to German.) If you don't do this, some of the UI elements of
133 your application will remain in the language of the operating system.
134
135 /////////////////////////////////////////////////////////////////////////////