StephaneLenclud@8
|
1 |
================================================================================
|
StephaneLenclud@8
|
2 |
MICROSOFT FOUNDATION CLASS LIBRARY : DisplayTest Project Overview
|
StephaneLenclud@8
|
3 |
===============================================================================
|
StephaneLenclud@8
|
4 |
|
StephaneLenclud@8
|
5 |
The application wizard has created this DisplayTest application for
|
StephaneLenclud@8
|
6 |
you. This application not only demonstrates the basics of using the Microsoft
|
StephaneLenclud@8
|
7 |
Foundation Classes but is also a starting point for writing your application.
|
StephaneLenclud@8
|
8 |
|
StephaneLenclud@8
|
9 |
This file contains a summary of what you will find in each of the files that
|
StephaneLenclud@8
|
10 |
make up your DisplayTest application.
|
StephaneLenclud@8
|
11 |
|
StephaneLenclud@8
|
12 |
DisplayTest.vcproj
|
StephaneLenclud@8
|
13 |
This is the main project file for VC++ projects generated using an application wizard.
|
StephaneLenclud@8
|
14 |
It contains information about the version of Visual C++ that generated the file, and
|
StephaneLenclud@8
|
15 |
information about the platforms, configurations, and project features selected with the
|
StephaneLenclud@8
|
16 |
application wizard.
|
StephaneLenclud@8
|
17 |
|
StephaneLenclud@8
|
18 |
DisplayTest.h
|
StephaneLenclud@8
|
19 |
This is the main header file for the application. It includes other
|
StephaneLenclud@8
|
20 |
project specific headers (including Resource.h) and declares the
|
StephaneLenclud@8
|
21 |
CDisplayTestApp application class.
|
StephaneLenclud@8
|
22 |
|
StephaneLenclud@8
|
23 |
DisplayTest.cpp
|
StephaneLenclud@8
|
24 |
This is the main application source file that contains the application
|
StephaneLenclud@8
|
25 |
class CDisplayTestApp.
|
StephaneLenclud@8
|
26 |
|
StephaneLenclud@8
|
27 |
DisplayTest.rc
|
StephaneLenclud@8
|
28 |
This is a listing of all of the Microsoft Windows resources that the
|
StephaneLenclud@8
|
29 |
program uses. It includes the icons, bitmaps, and cursors that are stored
|
StephaneLenclud@8
|
30 |
in the RES subdirectory. This file can be directly edited in Microsoft
|
StephaneLenclud@8
|
31 |
Visual C++. Your project resources are in 1033.
|
StephaneLenclud@8
|
32 |
|
StephaneLenclud@8
|
33 |
res\DisplayTest.ico
|
StephaneLenclud@8
|
34 |
This is an icon file, which is used as the application's icon. This
|
StephaneLenclud@8
|
35 |
icon is included by the main resource file DisplayTest.rc.
|
StephaneLenclud@8
|
36 |
|
StephaneLenclud@8
|
37 |
res\DisplayTest.rc2
|
StephaneLenclud@8
|
38 |
This file contains resources that are not edited by Microsoft
|
StephaneLenclud@8
|
39 |
Visual C++. You should place all resources not editable by
|
StephaneLenclud@8
|
40 |
the resource editor in this file.
|
StephaneLenclud@8
|
41 |
|
StephaneLenclud@8
|
42 |
|
StephaneLenclud@8
|
43 |
/////////////////////////////////////////////////////////////////////////////
|
StephaneLenclud@8
|
44 |
|
StephaneLenclud@8
|
45 |
The application wizard creates one dialog class:
|
StephaneLenclud@8
|
46 |
|
StephaneLenclud@8
|
47 |
DisplayTestDlg.h, DisplayTestDlg.cpp - the dialog
|
StephaneLenclud@8
|
48 |
These files contain your CDisplayTestDlg class. This class defines
|
StephaneLenclud@8
|
49 |
the behavior of your application's main dialog. The dialog's template is
|
StephaneLenclud@8
|
50 |
in DisplayTest.rc, which can be edited in Microsoft Visual C++.
|
StephaneLenclud@8
|
51 |
|
StephaneLenclud@8
|
52 |
|
StephaneLenclud@8
|
53 |
/////////////////////////////////////////////////////////////////////////////
|
StephaneLenclud@8
|
54 |
|
StephaneLenclud@8
|
55 |
Other Features:
|
StephaneLenclud@8
|
56 |
|
StephaneLenclud@8
|
57 |
ActiveX Controls
|
StephaneLenclud@8
|
58 |
The application includes support to use ActiveX controls.
|
StephaneLenclud@8
|
59 |
|
StephaneLenclud@8
|
60 |
/////////////////////////////////////////////////////////////////////////////
|
StephaneLenclud@8
|
61 |
|
StephaneLenclud@8
|
62 |
Other standard files:
|
StephaneLenclud@8
|
63 |
|
StephaneLenclud@8
|
64 |
StdAfx.h, StdAfx.cpp
|
StephaneLenclud@8
|
65 |
These files are used to build a precompiled header (PCH) file
|
StephaneLenclud@8
|
66 |
named DisplayTest.pch and a precompiled types file named StdAfx.obj.
|
StephaneLenclud@8
|
67 |
|
StephaneLenclud@8
|
68 |
Resource.h
|
StephaneLenclud@8
|
69 |
This is the standard header file, which defines new resource IDs.
|
StephaneLenclud@8
|
70 |
Microsoft Visual C++ reads and updates this file.
|
StephaneLenclud@8
|
71 |
|
StephaneLenclud@8
|
72 |
DisplayTest.manifest
|
StephaneLenclud@8
|
73 |
Application manifest files are used by Windows XP to describe an applications
|
StephaneLenclud@8
|
74 |
dependency on specific versions of Side-by-Side assemblies. The loader uses this
|
StephaneLenclud@8
|
75 |
information to load the appropriate assembly from the assembly cache or private
|
StephaneLenclud@8
|
76 |
from the application. The Application manifest maybe included for redistribution
|
StephaneLenclud@8
|
77 |
as an external .manifest file that is installed in the same folder as the application
|
StephaneLenclud@8
|
78 |
executable or it may be included in the executable in the form of a resource.
|
StephaneLenclud@8
|
79 |
/////////////////////////////////////////////////////////////////////////////
|
StephaneLenclud@8
|
80 |
|
StephaneLenclud@8
|
81 |
Other notes:
|
StephaneLenclud@8
|
82 |
|
StephaneLenclud@8
|
83 |
The application wizard uses "TODO:" to indicate parts of the source code you
|
StephaneLenclud@8
|
84 |
should add to or customize.
|
StephaneLenclud@8
|
85 |
|
StephaneLenclud@8
|
86 |
If your application uses MFC in a shared DLL, you will need
|
StephaneLenclud@8
|
87 |
to redistribute the MFC DLLs. If your application is in a language
|
StephaneLenclud@8
|
88 |
other than the operating system's locale, you will also have to
|
StephaneLenclud@8
|
89 |
redistribute the corresponding localized resources MFC80XXX.DLL.
|
StephaneLenclud@8
|
90 |
For more information on both of these topics, please see the section on
|
StephaneLenclud@8
|
91 |
redistributing Visual C++ applications in MSDN documentation.
|
StephaneLenclud@8
|
92 |
|
StephaneLenclud@8
|
93 |
/////////////////////////////////////////////////////////////////////////////
|