sl@0
|
1 |
========================================================================
|
sl@0
|
2 |
MICROSOFT FOUNDATION CLASS LIBRARY : t_usb_win
|
sl@0
|
3 |
========================================================================
|
sl@0
|
4 |
|
sl@0
|
5 |
|
sl@0
|
6 |
AppWizard has created this t_usb_win application for you. This application
|
sl@0
|
7 |
not only demonstrates the basics of using the Microsoft Foundation classes
|
sl@0
|
8 |
but is also a starting point for writing your application.
|
sl@0
|
9 |
|
sl@0
|
10 |
This file contains a summary of what you will find in each of the files that
|
sl@0
|
11 |
make up your t_usb_win application.
|
sl@0
|
12 |
|
sl@0
|
13 |
t_usb_win.dsp
|
sl@0
|
14 |
This file (the project file) contains information at the project level and
|
sl@0
|
15 |
is used to build a single project or subproject. Other users can share the
|
sl@0
|
16 |
project (.dsp) file, but they should export the makefiles locally.
|
sl@0
|
17 |
|
sl@0
|
18 |
t_usb_win.h
|
sl@0
|
19 |
This is the main header file for the application. It includes other
|
sl@0
|
20 |
project specific headers (including Resource.h) and declares the
|
sl@0
|
21 |
CT_usb_winApp application class.
|
sl@0
|
22 |
|
sl@0
|
23 |
t_usb_win.cpp
|
sl@0
|
24 |
This is the main application source file that contains the application
|
sl@0
|
25 |
class CT_usb_winApp.
|
sl@0
|
26 |
|
sl@0
|
27 |
t_usb_win.rc
|
sl@0
|
28 |
This is a listing of all of the Microsoft Windows resources that the
|
sl@0
|
29 |
program uses. It includes the icons, bitmaps, and cursors that are stored
|
sl@0
|
30 |
in the RES subdirectory. This file can be directly edited in Microsoft
|
sl@0
|
31 |
Visual C++.
|
sl@0
|
32 |
|
sl@0
|
33 |
t_usb_win.clw
|
sl@0
|
34 |
This file contains information used by ClassWizard to edit existing
|
sl@0
|
35 |
classes or add new classes. ClassWizard also uses this file to store
|
sl@0
|
36 |
information needed to create and edit message maps and dialog data
|
sl@0
|
37 |
maps and to create prototype member functions.
|
sl@0
|
38 |
|
sl@0
|
39 |
res\t_usb_win.ico
|
sl@0
|
40 |
This is an icon file, which is used as the application's icon. This
|
sl@0
|
41 |
icon is included by the main resource file t_usb_win.rc.
|
sl@0
|
42 |
|
sl@0
|
43 |
res\t_usb_win.rc2
|
sl@0
|
44 |
This file contains resources that are not edited by Microsoft
|
sl@0
|
45 |
Visual C++. You should place all resources not editable by
|
sl@0
|
46 |
the resource editor in this file.
|
sl@0
|
47 |
|
sl@0
|
48 |
|
sl@0
|
49 |
|
sl@0
|
50 |
|
sl@0
|
51 |
/////////////////////////////////////////////////////////////////////////////
|
sl@0
|
52 |
|
sl@0
|
53 |
AppWizard creates one dialog class:
|
sl@0
|
54 |
|
sl@0
|
55 |
t_usb_winDlg.h, t_usb_winDlg.cpp - the dialog
|
sl@0
|
56 |
These files contain your CT_usb_winDlg class. This class defines
|
sl@0
|
57 |
the behavior of your application's main dialog. The dialog's
|
sl@0
|
58 |
template is in t_usb_win.rc, which can be edited in Microsoft
|
sl@0
|
59 |
Visual C++.
|
sl@0
|
60 |
|
sl@0
|
61 |
|
sl@0
|
62 |
/////////////////////////////////////////////////////////////////////////////
|
sl@0
|
63 |
Other standard files:
|
sl@0
|
64 |
|
sl@0
|
65 |
StdAfx.h, StdAfx.cpp
|
sl@0
|
66 |
These files are used to build a precompiled header (PCH) file
|
sl@0
|
67 |
named t_usb_win.pch and a precompiled types file named StdAfx.obj.
|
sl@0
|
68 |
|
sl@0
|
69 |
Resource.h
|
sl@0
|
70 |
This is the standard header file, which defines new resource IDs.
|
sl@0
|
71 |
Microsoft Visual C++ reads and updates this file.
|
sl@0
|
72 |
|
sl@0
|
73 |
/////////////////////////////////////////////////////////////////////////////
|
sl@0
|
74 |
Other notes:
|
sl@0
|
75 |
|
sl@0
|
76 |
AppWizard uses "TODO:" to indicate parts of the source code you
|
sl@0
|
77 |
should add to or customize.
|
sl@0
|
78 |
|
sl@0
|
79 |
If your application uses MFC in a shared DLL, and your application is
|
sl@0
|
80 |
in a language other than the operating system's current language, you
|
sl@0
|
81 |
will need to copy the corresponding localized resources MFC42XXX.DLL
|
sl@0
|
82 |
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
|
sl@0
|
83 |
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
|
sl@0
|
84 |
For example, MFC42DEU.DLL contains resources translated to German.) If you
|
sl@0
|
85 |
don't do this, some of the UI elements of your application will remain in the
|
sl@0
|
86 |
language of the operating system.
|
sl@0
|
87 |
|
sl@0
|
88 |
/////////////////////////////////////////////////////////////////////////////
|