Sams Teach Yourself Visual C++ .Net in 21 Days

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

This book emphasizes using VC++ 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).

Author(s): Davis Howard Chapman
Publisher: Sams Publishing
Year: 2001

Language: English
Pages: 777

Sams Teach Yourself Visual C++® .NET in 21Days
Copyright
Contents at a Glance
Contents
About the Author
Dedication
Acknowledgments
Tell Us What You Think!
Introduction
WEEK 1 At a Glance
DAY 1 Building Your First Application in the Visual C++ Development Environment
Touring the Visual C++ Development Environment
Starting Your First Project
Designing Your Application Window
Adding Code to Your Application
Adding Finishing Touches
Summary
Q&A
Workshop
DAY 2 Debugging Your Application
What Is Debugging?
Debug-Aiding Code
The Visual Studio Debugging Tools
Building a Faulty Application
Debugging the Application
Summary
Q&A
Workshop
DAY 3 Using Controls in Your Application
The Basic Windows Controls
Adding Controls to Your Window
Attaching Variables to Your Controls
Attaching Functionality to the Controls
Summary
Q&A
Workshop
DAY 4 Integrating Mouse and Keyboard to Allow User Interaction
Understanding Mouse Events
Capturing Keyboard Events
Summary
Q&A
Workshop
DAY 5 Working with Timers
Understanding Windows Timers
Placing a Clock on Your Application
Adding a Second Timer to Your Application
Summary
Q&A
Workshop
DAY 6 Adding Dialogs to Your Application for User Feedback
Using Pre-existing (or System) Dialog Boxes
Creating Your Own Dialog Boxes
Summary
Q&A
Workshop
DAY 7 Creating Menus for Your Application
Understanding Menus
Creating a Menu
Creating Context Menus
Creating a Menu with Accelerators
Summary
Q&A
Workshop
WEEK 1 In Review
WEEK 2 At a Glance
DAY 8 Working with Text and Fonts
Finding and Using Fonts
Using Fonts
Summary
Q&A
Workshop
DAY 9 Incorporating Graphics, Drawings, and Bitmaps
Understanding the Graphics Device Interface
Creating a Graphics Application
Summary
Q&A
Workshop
DAY 10 Creating SDI and MDI Applications
Understanding the Document/View Architecture
Understanding MDI Applications
Creating an SDI Application
Saving and Loading the Drawing
Interacting with the Menu
Summary
Q&A
Workshop
DAY 11 Adding Toolbars and Status Bars
Understanding Toolbars, Status Bars and Menus
Designing a Toolbar
Adding a Combo Box to a Toolbar
Adding a New Status Bar Element
Summary
Q&A
Workshop
DAY 12 Saving and Restoring Work
Implementing a Serializable Class
Summary
Q&A
Workshop
DAY13 Updating and Adding Database Records Through ADO
Understanding Database Access
Understanding ADO
Building a Database Application with ADO
Summary
Q&A
Workshop
DAY14 Sharing Functionality with Other Applications Through DLLs
Designing Classes
Why Create DLLs?
Creating and Using an MFC Extension DLL
Creating and Using a Regular DLL
Summary
Q&A
Workshop
WEEK 2 In Review
WEEK 3 At a Glance
DAY15 Building Your Own Widgets: Creating ActiveX Controls
What Is an ActiveX Control?
Creating an ActiveX Control
Summary
Q&A
Workshop
DAY16 Adding Web Browsing Functionality to Your Applications
The Internet Explorer ActiveX Model
The CHtmlView Class
Interacting with COM Interfaces
Building a Web-Browsing Application
Summary
Q&A
Workshop
DAY17 Implementing Multitasking in Your Applications
Understanding Multitasking
Building a Multitasking Application
Summary
Q&A
Workshop
DAY 18 Working with Internet Applications and Network Communications
Understanding How Network Communications Work
Building a Networked Application
Summary
Q&A
Workshop
DAY19 Working with Managed Code
Understanding Microsoft’s .NET Platform and the Common Language Runtime
Working with Managed C++
Writing a Managed C++ Application
Summary
Q&A
Workshop
DAY20 Building Components with ATL
What Is ATL?
Building a Simple ATL Component
Summary
Q&A
Workshop
DAY21 Interacting with Visual Basic and C# Components
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
Summary
Q&A
Workshop
WEEK 3 In Review
APPENDIXA Answers to Quiz Questions
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
INDEX