Sams Teach Yourself Visual C++.NET in 21 Days, 2nd Edition is a time- saving guide walking you through Visual C++ tools and wizards for building applications and places VC++ in the context of the new Visual Studio.NET environment. This book emphasizes using Visual C++ tools and wizards to generate code. Code examples are augmented with C++ language sidebars: Readers who need a refresher on the language or want to go further "under the hood" will have a context, while those who don't can easily skip that coverage. The revision includes more information throughout on Microsoft Foundation Classes (MFC), how Windows applications work, and how MFC abstracts the Windows functionality to simplify building applications. Chapters on managed code, ATL functionality, and interacting with VB and C# components will help users begin to master the new .NET aspects of Visual C++.
(NOTE: Each chapter concludes with Summary, Questions and Answers, Workshop, Quiz, and Exercise Sections.)
How This Book Is Organized. Conventions Used In This Book.
Touring the Visual C++ Development Environment. Starting Your First Project. Designing Your Application Window. Adding Code to Your Application. Adding Finishing Touches.
What Is Debugging? Debug-Aiding Code. The Visual Studio Debugging Tools. Building a Faulty Application. Debugging the Application.
The Basic Windows Controls. Adding Controls to Your Window. Attaching Variables to Your Controls. Attaching Functionality to the Controls.
Understanding Mouse Events. Capturing Keyboard Events.
Understanding Windows Timers. Placing a Clock on Your Application. Adding a Second Timer to Your Application.
Using Pre-existing (or System) Dialog Boxes. Creating Your Own Dialog Boxes.
Understanding Menus. Creating a Menu. Creating Context Menus. Creating a Menu with Accelerators.
Finding and Using Fonts. Using Fonts.
Understanding the Graphics Device Interface. Creating a Graphics Application.
Understanding the Document/View Architecture. Understanding MDI Applications. Creating an SDI Application. Saving and Loading the Drawing. Interacting with the Menu.
Understanding Toolbars, Status Bars and Menus. Designing a Toolbar. Adding a Combo Box to a Toolbar. Adding a New Status Bar Element.
Understanding Serialization. Implementing a Serializable Class.
Understanding Database Access. Understanding ADO. Building a Database Application with ADO.
Designing Classes. Why Create DLLs? Creating and Using an MFC Extension DLL. Creating and Using a Regular DLL.
What Is an ActiveX Control? Creating an ActiveX Control.
The Internet Explorer ActiveX Model. The CHtmlView Class. Interacting with COM Interfaces. Building a Web-Browsing Application.
Understanding Multitasking. Building a Multitasking Application.
Understanding How Network Communications Work. Building a Networked Application.
Understanding Microsoft's .NET Platform and the Common Language Runtime. Working with Managed C++. Writing a Managed C++ Application.
What Is ATL? Building a Simple ATL Component.
Mixing Languages: Realizing the Promise of the CLR. Building a Managed C++ Component with a C# Client. Building a C# Component with a Managed C++ Client. Building an Unmanaged C++ Client.
Answers for Day 1. Answers for Day 2. Answers for Day 3. Answers for Day 4. Answers for Day 5. Answers for Day 6. Answers for Day 7. Answers for Day 8. Answers for Day 9. Answers for Day 10. Answers for Day 11. Answers for Day 12. Answers for Day 13. Answers for Day 14. Answers for Day 15. Answers for Day 16. Answers for Day 17. Answers for Day 18. Answers for Day 19. Answers for Day 20. Answers for Day 21.