About the Book
Using MFC 6 Unleashed, the reader will learn to apply the Microsoft Foundation Classes (MFC) to resolve a number of common and not-so-common programming issues. The design of the book makes it easy for readers to quickly find the topics they are interested in, and its advanced level coverage provides for a complete understanding of MFC. Within each topic, readers will be provided with detailed background information, including class hierarchies, as well as example code that can be applied to their own applications. Topic coverage will include, but is not limited to:
Part I: MFC Architecture
Part II: Dialogs, Messages, and controls/notifications
Part III: Documents, Views, and Applications
Part IV: MFC and COM Programming
Part V: MFC Database Programming
Part VI: MFC Utility Classes
Part VII: MFC and the Web
Part VIII: MFC and Graphics Programming
Part IX: Advanced MFC (Tips and Tricks)
Table of Contents: Introduction ..... 1
Part I: Core MFC ..... 5
Chapter 1: The MFC Architecture ..... 7
Chapter 2: MFC Dialogs, Controls, and Data Interaction ..... 49
Chapter 3: The Windows Common Controls ..... 79
Chapter 4: Painting, Device Contexts, Bitmaps, and Fonts ..... 147
Chapter 5: Custom Control Development ..... 213
Chapter 6: The MFC Application Object, Message Routing, and Idle Processing ..... 241
Part II: Documents, Views, and Applications That Use Them ..... 273
Chapter 7: The Document/View Architecture ..... 275
Chapter 8: Extending the User Inter-face ..... 301
Chapter 9: Printing ..... 345
Part III: MFC and COM Programming ..... 371
Chapter 10: COM ..... 373
Chapter 11: COM and MFC ..... 409
Chapter 12: MFC OLE Servers ..... 449
Chapter 13: MFC OLE Clients ..... 485
Chapter 14: MFC ActiveX Controls ..... 519
Chapter 15: MFC ActiveX Control Containers ..... 561
Chapter 16: Using MFC and ATL ..... 589
Chapter 17: Scripting Your MFC Application ..... 625
Part IV: MFC Database Programming ..... 653
Chapter 18: MFC Database Processing ..... 655
Chapter 19: Advanced Database Support ..... 685
Part V: MFC Utility Classes ..... 729
Chapter 20: Strings and Collections ..... 731
Chapter 21: File I/O and MFC ..... 757
Chapter 22: Exceptions ..... 781
Part VI: MFC and the Web ..... 815
Chapter 23: MFC and DHTML ..... 817
Chapter 24: C Socket Programming ..... 851
Chapter 25: WinInet Programming ..... 885
Chapter 26: ISAPI Extensions ..... 935
Chapter 27: MAPI and MFC ..... 969
Chapter 28: TAPI and MFC ..... 987
Part VII: MFC and Graphics Programming ..... 1021
Chapter 29: MFC and OpenGL ..... 1023
Chapter 30: MFC and DirectX ..... 1077
Chapter 31: Multimedia and MFC ..... 1117
Part VIII: Advanced MFC ..... 1157
Chapter 32: Inside the Registry ..... 1159
Chapter 33: Writing and Using DLLs ..... 1179
Chapter 34: Creating Custom Wizards ..... 1199
Index ..... 1221