1. Trang chủ
  2. » Khoa Học Tự Nhiên

Programming with microsoft visual c++ NET 6th ed 2003 200

1,6K 206 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1.552
Dung lượng 9,44 MB

Nội dung

Programming with Microsoft Visual C++ NET, Sixth Edition ISBN:0735615497 by George Shepherd and David Kruglinski Microsoft Press © 2003 (1038 pages) The in-depth reference that covers both classic, core Windows competencies and modern NET programming Table of Contents Programming with Microsoft Visual C++ NET, Sixth Edition Introduction Part I - Windows, Visual C++ NET, and Application Framework Fu Chapter 1 - Windows and Visual C++ NET Chapter 2 - The Microsoft Foundation Class Library Application F Part II - MFC Essentials Chapter 3 - Getting Started with the MFC Application Wizard Chapter 4 - Visual C++ NET Wizards Chapter 5 - Windows Message Mapping Chapter 6 - Classic GDI Functions, Fonts, and Bitmaps Chapter 7 - Dialog Boxes Chapter 8 - Common Controls Chapter 9 - Using ActiveX Controls Chapter 10 - Win32 Core Memory Management Chapter 11 - Windows Message Processing and Multi-Threaded P Part III - MFC's Document-View Architecture Chapter 12 - Menus, Keyboard Accelerators, the Rich Edit Contro Sheets Chapter 13 - Toolbars and Status Bars Chapter 14 - A Reusable Frame Window Base Class Chapter 15 - Separating the Document from Its View Chapter 16 - Reading and Writing Documents Chapter 17 - Printing and Print Preview Chapter 18 - Splitter Windows and Multiple Views Chapter 19 - Context-Sensitive Help Chapter 20 - Dynamic-Link Libraries Chapter 21 - MFC Programs Without Document or View Classes Part IV - COM, Automation, ActiveX, and OLE Chapter 22 - The Component Object Model Chapter 23 - Automation Chapter 24 - Uniform Data Transfer: Clipboard Transfer and OLE Chapter 25 - Introducing the Active Template Library Chapter 26 - ATL and ActiveX Controls Chapter 27 - The OLE DB Templates Part V - Programming for the Internet Chapter 28 - Internet Essentials Chapter 29 - Introducing Dynamic HTML Chapter 30 - ATL Server Part VI - NET and Beyond Chapter 31 - Microsoft NET Chapter 32 - Managed C++ Chapter 33 - Programming Windows Forms Using Managed C++ Chapter 34 - Programming ASP.NET Using Managed C++ Chapter 35 - Programming ADO.NET Using Managed C++ Appendix A - Message Map Functions in the MFC Library Appendix B - MFC Library Runtime Class Identification and Dynam Index List of Figures List of Tables List of Listings List of Sidebars CD Content Back Cover Learn how to write solid Visual C++ NET code today with this comprehensive reference—the latest edition of the industry’s most trusted text It’s the complete programming guide for intermediate and advanced developers who want to create NET applications with Visual C++ and the Microsoft NET Framework Focusing on core programming techniques, instructions, and solutions, this book shows you what’s new in Visual C++ NET and walks you through the development life cycle with this powerful language Get in-depth coverage of the language’s syntax, tools, and APIs—along with expert advice and timesaving techniques Take advantage of complete, task-based instruction plus your Microsoft Windows and C++ programming skills to produce a new generation of killer Windows and NET-based applications Topics Covered Include: Fundamentals: Windows and Visual C++, MFC essentials and the MFC application wizard; Visual C++ NET wizards; Windows message mapping; classic GDI functions, fonts, and bitmaps; dialog boxes; common controls and Microsoft ActiveX controls; Microsoft Win32 core memory management; Windows message processing and multithreaded programming MFC document-view architecture: Menus, keyboard accelerators, the Rich Edit control, and property sheets; toolbars and status bars; a reusable frame Windows base class; separating the document from its view; reading and writing document—SDI and MDI applications; printing and print preview; splitter windows and multiple views; contextsensitive Help; dynamic link libraries, MFC programs without document or view classes COM, automation, ActiveX and OLE: Automation and IDispatch, data transfer with Clipboard and OLE drag-and-drop, the Active Template Library, ActiveX Controls, OLEDB templates Programming for the Internet: TCP/IP, Winsock, and WinINet; dynamic HTML; ATL Server .NET and beyond: The NET platform; NET interoperability with managed C++; Windows Forms, GDI+, and NET Web services with C++; Microsoft ADO.NET About the Authors Besides writing NET development tools for Suncfusion, George Shepherd teaches courses for DevelopMentor For Microsoft Press, he has coauthored several editions of Programming with Microsoft Visual C++ NET, plus Inside ATL He has also written books about applied NET programming and MFC internals and is a contributing editor at MSDN Magazine David Kruglinski was on the team that originally created Microsoft Visual C++ Programming with Microsoft Visual C++ NET, Sixth Edition George Shepherd with David Kruglinski PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright © 2003 by George Shepherd All rights reserved No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher Library of Congress Cataloging-in-Publication Data Shepherd, George Programming with Microsoft Visual C++ NET, Sixth Edition (Core Reference) / George Shepherd p cm Includes index ISBN 0-7356-1549-7 2002 1 2 3 4 5 6 7 8 9 QWT 7 6 5 4 3 2 Distributed in Canada by H.B Fenn and Company Ltd A CIP catalogue record for this book is available from the British Library Microsoft Press books are available through booksellers and distributors worldwide For further information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329 Visit our Web site at www.microsoft.com/mspress Send comments to: mspinput@microsoft.com ActiveX, FoxPro, IntelliSense, Microsoft, Microsoft Press, MSDN, MSDOS, Visio, Visual Basic, Visual C++, Visual Studio, Win32, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries Other product and company names mentioned herein may be the trademarks of their respective owners The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred Acquisitions Editors: Juliana Aldous and Danielle Bird Project Editor: Denise Bankaitis Technical Editor: Julie Xiao Body Part No X08-68165 Dedicated to Sandy Daston and Ted Shepherd Acknowledgments This part of book writing is always the best— everybody involved is nearly done with the manuscript and all that's left to do is to thank everybody Because the author's name appears on the cover, it's sometimes easy to forget all the other folks involved in a project as large as this Many other folks gave their time and energy to this project, and I wish to thank you Thank you Sandy Daston and Ted Shepherd—my family, for your support while I wrote this book Thank you, Denise Bankaitis As the project editor, you kept me going by reminding me of the importance of this project (a key C++ reference for NET) and by coordinating the efforts of the rest of the team, which includes Julie Xiao, Ina Chang, Danielle Bird, Juliana Aldous, Joel Panchot, Carl Diltz, and Gina Cassill Thank you, Julie Xiao, for keeping the manuscript accurate Thank you, Ina Chang, for making my sentences readable Thank you, Danielle Bird and Juliana Aldous As acquisition editors, you got this project rolling and kept it on track Thank you, Joel Panchot, for making sure the art in this book looks good Thank you, Carl Diltz and Gina Cassill, for composing the manuscript and making it look great I would also like to thank the folks at DevelopMentor, for providing a wonderful environment and community for thinking and learning about modern computing You guys are wonderful George Shepherd When George Shepherd isn't writing NET components for Syncfusion ( http://www.syncfusion.com), he teaches short courses with DevelopMentor ( http://www.develop.com) George is a contributing editor for MSDN magazine, and the coauthor of several other books on working with Microsoft technologies George now prefers to play his Hamer Artist between compiles (although NETís new JIT compiling doesnít leave as much time for that) Drill Bit The year was 1914, and the electric motor was still newfangled Along came two bright young fellows, S Duncan Black and Alonzo G Decker, who saw its possibilities They hooked one of the new motors up to a drill bit—a circular piece of metal with a chisel edge and cutting lips— and the world's first electric drill was born It had a pistol grip and a trigger switch, and it made boring holes a snap, but it didn't really catch on until 20 years later when, in 1946, Black and Decker designed a model for consumers, and the tool took off As usual, necessity was the mother of invention and the father of a highly successful company—a bit of wisdom you can drill home time and time again.[*] At Microsoft Press, we use tools to illustrate our books for software developers and IT professionals Tools very simply and powerfully symbolize human inventiveness They're a metaphor for people extending their capabilities, precision, and reach From simple calipers and pliers to digital micrometers and lasers, these stylized illustrations give each book a visual identity, and a personality to the series With tools and knowledge, there's no limit to creativity and innovation Our tag line says it all: The tools you need to put technology to work The manuscript for this book was prepared and galleyed using Microsoft Word Pages were composed by Microsoft Press using Adobe FrameMaker+SGML for Windows, with text in Garamond and display type in Helvetica Condensed Composed pages were delivered to the printer as electronic prepress files Cover Designer: Methodologie, Inc Interior Graphic Designer: James D Kramer Principal Compositor: Gina Cassill Interior Artist: Joel Panchot Principal Proofreader: Ina Chang Indexer: Julie Kawabata [*]From The Great Tool Emporium by David X Manners (published by E.P Dutton/Times Mirror Magazines, Inc., 1979) Introduction The release of the Microsoft Visual Studio NET (and Visual C++ NET in particular) has underscored Microsoft's increasing focus on Internet technologies, which are at the heart of the Microsoft NET architecture In addition to supporting the NET initiative, Visual C++ NET keeps all the productivity-boosting features you're familiar with, such as Edit And Continue, IntelliSense, AutoComplete, and code tips Visual C++ NET also includes many new features such as managed code extensions for NET programming, support for attributed code, and a more consistent development environment These features take Visual C++ NET to a new level This book will get you up to speed on the latest technologies introduced into Visual C++ Chapter 33: Programming Windows Forms Using Managed C++ Source.cpp Source.cpp Source.cpp Chapter 34: Programming ASP.NET Using Managed C++ Ex34a.h Ex34b.h Ex34c.h List of Sidebars Chapter 3: Getting Started with the MFC Application Wizard For Win32 Programmers Chapter 5: Windows Message Mapping For Win32 Programmers For Win32 Programmers Chapter 6: Classic GDI Functions, Fonts, and Bitmaps For Win32 Programmers For Win32 Programmers For Win32 Programmers Chapter 8: Common Controls About Icons CTime vs COleDateTime Chapter 9: Using ActiveX Controls For Win32 Programmers Chapter 10: Win32 Core Memory Management For Win32 Programmers Chapter 14: A Reusable Frame Window Base Class Unicode Chapter 15: Separating the Document from Its View Window Subclassing for Enhanced Data-Entry Control Chapter 23: Automation Debugging an EXE Component Program Parameters Passed by Reference Debugging a DLL Component Chapter 25: Introducing the Active Template Library Attributed ATL vs Classic ATL Chapter 28: Internet Essentials Classic Internet Development vs .NET Development CD Content Following are select files from this book's Companion CD-ROM These files are for your personal use, are governed by the Books24x7 Membership Agreement, and are copyright protected by the publisher, author, and/or other third parties Unauthorized use, reproduction, or distribution is strictly prohibited Click on the link(s) below to download the files to your computer: File Description All CD Content Programming with Microsoft Visual C++ NET, 16,923,493 Sixth Edition 16,744,645 Vcppnet Size ... created Microsoft Visual C++ Programming with Microsoft Visual C++ NET, Sixth Edition George Shepherd with David Kruglinski PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way... Chapter 32 - Managed C++ Chapter 33 - Programming Windows Forms Using Managed C++ Chapter 34 - Programming ASP .NET Using Managed C++ Chapter 35 - Programming ADO .NET Using Managed C++ Appendix A... companion content or questions that are not answered by querying the Knowledge Base, please send them to Microsoft Press using postal mail or e-mail: Microsoft Press Attn: Programming with Microsoft Visual C++ NET Editor One Microsoft Way Redmond, WA 98052-6399

Ngày đăng: 25/03/2019, 16:39

TỪ KHÓA LIÊN QUAN