<P> <I>Sams Teach Yourself Visual C++.NET in 21 Days, 2nd Edition</I> 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 t
Sams Teach Yourself Visual C++.NET in 21 Days
โ Scribed by Davis Chapman
- Publisher
- Sams
- Year
- 2001
- Tongue
- English
- Leaves
- 798
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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++.
โฆ Table of Contents
Sams Teach Yourself Visual C++ยฎ .NET in 21Days......Page 2
Copyright......Page 3
Contents at a Glance......Page 4
Contents......Page 6
About the Author......Page 18
Acknowledgments......Page 19
Tell Us What You Think!......Page 20
Introduction......Page 22
WEEK 1 At a Glance......Page 26
DAY 1 Building Your First Application in the Visual C++ Development Environment......Page 28
Touring the Visual C++ Development Environment......Page 29
Starting Your First Project......Page 33
Designing Your Application Window......Page 39
Adding Code to Your Application......Page 41
Adding Finishing Touches......Page 46
Q&A......Page 50
Workshop......Page 51
DAY 2 Debugging Your Application......Page 52
What Is Debugging?......Page 53
Debug-Aiding Code......Page 56
The Visual Studio Debugging Tools......Page 63
Building a Faulty Application......Page 73
Debugging the Application......Page 82
Q&A......Page 85
Workshop......Page 86
DAY 3 Using Controls in Your Application......Page 88
The Basic Windows Controls......Page 89
Adding Controls to Your Window......Page 94
Attaching Variables to Your Controls......Page 99
Attaching Functionality to the Controls......Page 101
Q&A......Page 114
Workshop......Page 115
DAY 4 Integrating Mouse and Keyboard to Allow User Interaction......Page 116
Understanding Mouse Events......Page 117
Capturing Keyboard Events......Page 131
Q&A......Page 140
Workshop......Page 141
Understanding Windows Timers......Page 144
Placing a Clock on Your Application......Page 145
Adding a Second Timer to Your Application......Page 151
Summary......Page 158
Workshop......Page 159
DAY 6 Adding Dialogs to Your Application for User Feedback......Page 162
Using Pre-existing (or System) Dialog Boxes......Page 163
Creating Your Own Dialog Boxes......Page 180
Q&A......Page 188
Workshop......Page 190
Understanding Menus......Page 192
Creating a Menu......Page 195
Creating Context Menus......Page 204
Summary......Page 207
Workshop......Page 208
WEEK 1 In Review......Page 210
WEEK 2 At a Glance......Page 214
DAY 8 Working with Text and Fonts......Page 216
Finding and Using Fonts......Page 217
Using Fonts......Page 229
Q&A......Page 239
Workshop......Page 241
DAY 9 Incorporating Graphics, Drawings, and Bitmaps......Page 242
Understanding the Graphics Device Interface......Page 243
Creating a Graphics Application......Page 259
Summary......Page 286
Workshop......Page 287
DAY 10 Creating SDI and MDI Applications......Page 290
Understanding the Document/View Architecture......Page 291
Understanding MDI Applications......Page 299
Creating an SDI Application......Page 301
Saving and Loading the Drawing......Page 316
Interacting with the Menu......Page 321
Summary......Page 328
Q&A......Page 329
Workshop......Page 331
DAY 11 Adding Toolbars and Status Bars......Page 334
Understanding Toolbars, Status Bars and Menus......Page 335
Designing a Toolbar......Page 336
Adding a Combo Box to a Toolbar......Page 347
Adding a New Status Bar Element......Page 362
Q&A......Page 367
Workshop......Page 368
DAY 12 Saving and Restoring Work......Page 370
Implementing a Serializable Class......Page 384
Summary......Page 412
Q&A......Page 413
Workshop......Page 414
DAY13 Updating and Adding Database Records Through ADO......Page 416
Understanding ADO......Page 417
Building a Database Application with ADO......Page 444
Summary......Page 465
Workshop......Page 466
DAY14 Sharing Functionality with Other Applications Through DLLs......Page 468
Designing Classes......Page 469
Why Create DLLs?......Page 471
Creating and Using an MFC Extension DLL......Page 475
Creating and Using a Regular DLL......Page 489
Q&A......Page 499
Workshop......Page 501
WEEK 2 In Review......Page 502
WEEK 3 At a Glance......Page 506
DAY15 Building Your Own Widgets: Creating ActiveX Controls......Page 508
What Is an ActiveX Control?......Page 509
Creating an ActiveX Control......Page 514
Summary......Page 531
Workshop......Page 532
DAY16 Adding Web Browsing Functionality to Your Applications......Page 534
The Internet Explorer ActiveX Model......Page 535
The CHtmlView Class......Page 536
Interacting with COM Interfaces......Page 537
Building a Web-Browsing Application......Page 544
Q&A......Page 556
Workshop......Page 557
DAY17 Implementing Multitasking in Your Applications......Page 558
Understanding Multitasking......Page 559
Building a Multitasking Application......Page 569
Q&A......Page 595
Workshop......Page 598
DAY 18 Working with Internet Applications and Network Communications......Page 600
Understanding How Network Communications Work......Page 601
Building a Networked Application......Page 618
Q&A......Page 633
Workshop......Page 634
DAY19 Working with Managed Code......Page 636
Understanding Microsoftโs .NET Platform and the Common Language Runtime......Page 637
Working with Managed C++......Page 642
Writing a Managed C++ Application......Page 652
Q&A......Page 660
Workshop......Page 661
DAY20 Building Components with ATL......Page 662
What Is ATL?......Page 663
Building a Simple ATL Component......Page 668
Summary......Page 682
Q&A......Page 683
Workshop......Page 684
DAY21 Interacting with Visual Basic and C# Components......Page 686
Mixing Languages: Realizing the Promise of the CLR......Page 687
Building a Managed C++ Component with a C# Client......Page 691
Building a C# Component with a Managed C++ Client......Page 695
Building an Unmanaged C++ Client......Page 699
Q&A......Page 703
Workshop......Page 704
WEEK 3 In Review......Page 706
Answers for Day 1......Page 710
Answers for Day 2......Page 711
Answers for Day 3......Page 712
Answers for Day 4......Page 715
Answers for Day 5......Page 719
Answers for Day 6......Page 721
Answers for Day 7......Page 723
Answers for Day 8......Page 724
Answers for Day 9......Page 728
Answers for Day 10......Page 730
Answers for Day 11......Page 735
Answers for Day 12......Page 738
Answers for Day 13......Page 742
Answers for Day 14......Page 743
Answers for Day 15......Page 745
Answers for Day 16......Page 747
Answers for Day 17......Page 749
Answers for Day 18......Page 752
Answers for Day 19......Page 754
Answers for Day 20......Page 755
Answers for Day 21......Page 760
INDEX......Page 764
๐ SIMILAR VOLUMES
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 inclu
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environme
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environmen
Sams Teach Yourself More Visual Basic.NET in 21 Days provides step-by-step coverage of the most important new features of Visual Basic.NET and .NET that will allow programmers to begin creating rich Web applications and Web Services. Intermediate programmers gain the knowledge and skills to be able