did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780672315572

Mfc Programming With Visual C++ 6 Unleashed

by ; ; ;
  • ISBN13:

    9780672315572

  • ISBN10:

    0672315572

  • Edition: CD
  • Format: Paperback
  • Copyright: 1999-06-01
  • Publisher: Sams
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99

Summary

Presents focused explanations of the core features and complexities of MFC programming with Visual C++6. Softcover. CD-ROM included.

Author Biography

David White and Kenn Scribner are systems programmers with the world's largest supplier of information services for the legal industry. They use Visual C++ and MFC to develop custom applications that are marketed in more than 60 countries. In addition, Kenn is the president of Endurasoft Software, a supplier of MFC and ActiveX software solutions. Eugene Olafsen has worked with MFC/OLE since its humble beginnings. He has worked to develop applications ranging from engine test simulators for Boeing to search and publishing systems for Reuters.

Table of Contents

Forewordp. xxiv
Introductionp. 1
Core MFCp. 5
The MFC Architecturep. 7
A Brief History of MFCp. 8
The MFC Class Hierarchyp. 13
Summaryp. 48
MFC Dialogs, Controls, and Data Interactionp. 49
Creating an Applicationp. 50
Modifying the Applicationp. 57
ToolTipsp. 71
Dialog Data Exchangep. 72
Using Standard Dialog Boxesp. 74
Summaryp. 77
The Windows Common Controlsp. 79
Initializing and Using the Common Controlsp. 80
Notifications for Windows Common Controlsp. 81
Hot Key Controls: Class CHotKeyCtrlp. 85
Spin Controls: Class CSpinButtonCtrlp. 88
Slider Controls: Class CSliderCtrlp. 95
Progress Bar Controls: Class CProgressCtrlp. 105
Image Lists: Class CImageListp. 107
List View Controls: Class CListCtrlp. 110
List View Items and Subitemsp. 114
Tree View Controls: Class CTreeCtrlp. 120
Tab Controls: Class CTabCtrlp. 125
Animate Controls: Class CAnimateCtrlp. 131
Rich Edit Controls: Class CRichEditCtrlp. 135
Summaryp. 146
Painting, Device Contexts, Bitmaps, and Fontsp. 147
Device Contextsp. 148
The Graphics Device Interfacep. 149
MFC Device Context Classesp. 150
Windows Graphic Objectsp. 158
GDI Coordinate Systemsp. 165
Vector Graphicsp. 167
Fonts and Textp. 184
Sample Program: Vector Graphics and Text Methods (VECTEXT1.EXE)p. 194
Raster Graphicsp. 196
Bitmap Resourcesp. 203
Sample Program: Exploring Bitmap Resources (BITMAP1)p. 206
Summaryp. 210
Custom Control Developmentp. 213
Window Classes Versus C++ Classesp. 214
A Validating Edit Controlp. 215
The Clock Static Controlp. 217
The Hyperlink Controlp. 225
Advanced Custom Control Topicsp. 237
Summaryp. 240
The MFC Application Object, Message Routing, and Idle Processingp. 241
The MFC Application Objectp. 242
Message Routing, Message Maps, and Message Categoriesp. 259
Idle Processingp. 266
The Splash Screen Componentp. 270
Summaryp. 271
Documents, Views, and Applications That Use Themp. 273
The Document/View Architecturep. 275
Documents, Frames, and Viewsp. 276
Creating New Documentsp. 280
Viewsp. 285
Summaryp. 299
Extending the User Interfacep. 301
Responding to the Userp. 302
User Interfaces and AppWizardp. 309
Extending Menusp. 310
Putting Control Bars to Usep. 314
Updating the User Interfacep. 324
Property Sheets and Wizardsp. 326
Splitting a Viewp. 340
Summaryp. 343
Printingp. 345
Printing Fundamentalsp. 346
Printing with MFCp. 347
Printing and GDI Mapping Modesp. 352
WYSIWYG Printingp. 354
Paginationp. 361
Stopping and Aborting Print Jobsp. 367
Summaryp. 369
MFC and COM Programmingp. 371
COMp. 373
A Little Historyp. 374
Interfaces, Objects, and Methodsp. 375
Servers, Clients, and Classesp. 382
The COM Runtime Environmentp. 384
Marshaling and Threadingp. 386
COM, OLE, and Automationp. 390
Persisting COM Datap. 393
Identifying COM Data (Monikers)p. 396
Transferring Datap. 397
DCOMp. 399
Some Important Informationp. 405
Further Readingp. 407
Summaryp. 408
COM and MFCp. 409
Understanding the Afx Global Functionsp. 410
Reviewing the OLE Macrosp. 420
MFC and the OLE Class Categoriesp. 434
Summaryp. 448
MFC OLE Serversp. 449
Document Serversp. 450
Server Typesp. 451
Document Server Designp. 452
Building an Active Document Serverp. 462
Automation Serversp. 465
IDispatchp. 467
IDispatch-Derived Interface in ODLp. 467
Calling Methods Through IDispatchp. 469
Dispinterfaces Differ from Interfacesp. 471
Accessing Automation Servers in C++ Through IDispatchp. 471
Dual Interfacesp. 472
The Variantp. 473
An Automation Server Using MFCp. 476
Summaryp. 483
MFC OLE Clientsp. 485
IDispatch and Its Place in Automationp. 486
Interface Definition for Automation Serversp. 486
MFC and Automationp. 491
Building a Controllerp. 496
Summaryp. 517
MFC ActiveX Controlsp. 519
Development Strategyp. 521
Control Developmentp. 523
Two Faces of a Controlp. 526
Subclassing a Controlp. 527
Component Categoriesp. 528
Methods, Properties, and Eventsp. 530
Property Pagesp. 535
Component Registrationp. 538
COM Object Subkeysp. 539
Building an MFC Controlp. 540
Interface Definitionp. 543
A Quick ATL Portp. 553
Summaryp. 559
MFC ActiveX Control Containersp. 561
Active Document Containerp. 562
OLE Controlsp. 571
Summaryp. 588
Using MFC and ATLp. 589
What Is ATL and Why Is It Important for Programming in MFC?p. 590
Helpful ATL COM Support for MFC Applicationsp. 591
Advanced ATL Support for MFC Applicationsp. 604
Summaryp. 623
Scripting Your MFC Applicationp. 625
Scripting Basicsp. 626
Object Modelsp. 637
Implementing a Scripted Applicationp. 639
Summaryp. 651
MFC Database Programmingp. 653
MFC Database Processingp. 655
Relational Database Conceptsp. 656
Storing and Retrieving Datap. 660
Database Communication Mechanismsp. 663
ODBC/MFCp. 665
DAOp. 677
Summaryp. 684
Advanced Database Supportp. 685
The COM Approachp. 686
OLE DB Consumers Using the ATL Wrapper Classesp. 687
Using the ADO C++ Interfacesp. 708
Summaryp. 727
MFC Utility Classesp. 729
Strings and Collectionsp. 731
Strings and String Classesp. 732
Collectionsp. 741
The UNL_MultiEd Applicationp. 749
An STL Approachp. 754
Summaryp. 755
File I/O and MFCp. 757
The CFile Classp. 758
Inside the CFile Classp. 761
The CFileDialog Classp. 770
The User-Defined CFileDialog Classp. 772
Practical Usage of CFile and CFileDialogp. 773
A Classical Approachp. 778
Summaryp. 780
Exceptionsp. 781
Exceptions--What Are They Good For?p. 782
Types of Exceptionsp. 785
Structured Exception Handlersp. 786
Nesting of Structured Exception Handlersp. 788
Raising Structured Exceptionsp. 789
Cleaning Up After an Exceptionp. 790
C++ Exceptionsp. 792
Defining a C++ Exception Classp. 795
MFC Exceptionsp. 797
Deriving Your own MFC-Compliant Exception Objectsp. 808
Deleting Exceptionsp. 810
Using MFC Exception Macrosp. 812
Mixing Exceptionsp. 813
Summaryp. 814
MFC and the Webp. 815
MFC and DHTMLp. 817
DHTML, MSIE, and the Internetp. 818
Using the Internet Explorer Web ActiveX Controlp. 819
Using DHTMLp. 829
Summaryp. 850
CSocket Programmingp. 851
How Do Network Communications Work?p. 852
Winsock and MFCp. 855
Building a Networked Applicationp. 869
Summaryp. 884
WinInet Programmingp. 885
Web Application Protocols and WinInetp. 886
Internet Session Basicsp. 890
Application-Level Functionalityp. 909
Summaryp. 933
ISAPI Extensionsp. 935
The Foundationp. 936
From There to Herep. 951
From Get to Postp. 957
Adding Some Form Elementsp. 959
Other Form Input Elementsp. 965
Summaryp. 968
MAPI and MFCp. 969
The Messaging Application Programming Interfacep. 970
Two Higher-Level Alternatives: Simple MAPI and CMCp. 971
Limited MAPI Functionality in MFCp. 975
The CDocument Connectionp. 975
Sample Program: MAPI1.EXEp. 981
Summaryp. 985
TAPI and MFCp. 987
Overviewp. 988
History of TAPIp. 995
Using Assisted Telephonyp. 999
Using Basic Telephonyp. 1002
Summaryp. 1019
MFC and Graphics Programmingp. 1021
MFC and OpenGLp. 1023
What Is OpenGL?p. 1024
Graphics Boot Campp. 1025
OpenGL Boot Campp. 1032
Minimal OpenGL Program and a Custom Viewp. 1042
2D and 3D Modelsp. 1055
Lightp. 1064
Texture Mappingp. 1069
Special Effectsp. 1073
Summaryp. 1075
MFC and DirectXp. 1077
What Is DirectX?p. 1078
DirectX Basicsp. 1081
DirectDraw Basicsp. 1083
Using DirectDraw in Practicep. 1102
Summaryp. 1116
Multimedia and MFCp. 1117
Multimedia Fundamentalsp. 1118
The DirectX Media Player Controlp. 1119
Using the Media Player Controlp. 1122
Playing Soundp. 1131
Summaryp. 1155
Advanced MFCp. 1157
Inside the Registryp. 1159
Registry Usagep. 1161
The Registry Structurep. 1163
Programmatic Control of the Registryp. 1164
The Registry Sample Applicationp. 1167
A Word About Wrapping the Registry Functionsp. 1176
A Word About Installationp. 1177
Summaryp. 1178
Writing and Using DLLsp. 1179
Advantages of DLLsp. 1180
Inside an AFX DLLp. 1181
Exporting Classes, Functions, and Datap. 1182
Other DLL Issuesp. 1192
Summaryp. 1197
Creating Custom Wizardsp. 1199
Property Sheets and Property Pagesp. 1200
Creating a Wizardp. 1203
Sample Program: Off to See the Wizard (WIZARD1.EXE)p. 1205
Summaryp. 1220
Indexp. 1221
Table of Contents provided by Syndetics. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program