... ffirs.qxp 1/20/06 11:22 PM Page v
Ivor Horton’s
Beginning Visual C++
®
2005
01_571974 ffirs.qxp 1/20/06 11:22 PM Page i
Ivor Horton’s Beginning Visual C++
®
2005
Published by
Wiley Publishing, ... Serialization 88 1
Moving Text 88 2
Printing a Document 88 4
The Printing Process 88 5
The CPrintInfo Class 88 6
02_571974 ftoc.qxp 1/20/06 11:22 PM Page xxix
xvii
Conte...
... System::Int32
unsigned long 4 System::UInt32
long long 8 System::Int64
unsigned long long 8 System::UInt64
float 4 System::Single
double 8 System::Double
long double 8 System::Double
wchar_t 2 System::Char
100
Chapter ... What follows is an example of what I’ve discussed so far about scope.
88
Chapter 2
05_571974 ch02.qxp 1/20/06 11:34 PM Page 88
The ‘equal to” comparison operator...
... volume of object pointed to by pBox
3 68
Chapter 7
10_571974 ch07.qxp 1/20/06 11:44 PM Page 3 68
Now that you have defined your standard box having dimensions 3x5x8, you don’t want it messed
about ... function.
Intellisense Assistance with Structures
You’ve probably noticed that the editor in Visual C++ 2005 is quite intelligent — it knows the types of
variables, for instance. If you...
... as
•••
•••
•••
•••
•••
•••
•••
•••
•••
}
{
{
}
{
}
{
}
489
Class Inheritance and Virtual Functions
12_571974 ch09.qxp 1/20/06 11:33 PM Page 489
the program no longer compiles. The compiler generates ... allowed in C++/ CLI classes and an external function would not have access to private members of
the class so you have no other possibilities for implementing the addition operator.
462
Ch...
... resolution of 1 280 x1024 than if it’s working with
the resolution set as 1024x7 68. An object drawn in this mapping mode will be smaller at the 1 280 x1024
resolution than it would be at the 1024x7 68 resolution. ... following editing buttons provided by
the resource editor that appear in the toolbar for the Visual C++ 2005 application window.
❑ Pencil for drawing individual pixels
❑...
... from the COrderSet object. This used
to be possible in earlier versions of Visual C++, but unfortunately the Visual C++ 2005 product does
not provide for this. The dialog box for adding a new ... CProductSet::GetDefaultConnect()
{
return _T(
“DSN=Northwind;
DBQ=D:\\Beg Visual C++ 2005\ \Model Access DB\\Northwind.mdb;
DriverId=25;
FIL=MS Access;
MaxBufferSize=20 48;
PageTimeo...
... values;
}
1 085
Applications Using Windows Forms
24_571974 ch21.qxp 1/20/06 11:47 PM Page 1 085
When the the menu item is clicked, the handler function displays the message box shown in Figure 21- 28.
Figure ... control dis-
plays the page at the URL that was entered.
1 087
Applications Using Windows Forms
24_571974 ch21.qxp 1/20/06 11:47 PM Page 1 087
now open the Properties window for...