Teachyourselfvisualc++6In21Days

Páginas: 618 (154381 palabras) Publicado: 4 de marzo de 2013
Davis Chapman

Teach Yourself

Visual C++ 6
®

in

21 Days

A Division of Macmillan Computer Publishing 201 West 103rd St., Indianapolis, Indiana, 46290 USA

Sams Teach Yourself Visual C++ 6 in 21 Days
®

EXECUTIVE EDITOR
Brad Jones

ACQUISITIONS EDITOR
Kelly Marshall

Copyright © 1998 by Sams Publishing
All rights reserved. No part of this book shall be reproduced,stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors oromissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 0-672-31240-9 Library of Congress Catalog Card Number: 98-84508 Printed in the United States of America First Printing: August, 1998 01 00 99 98 4 3 2 1

DEVELOPMENT EDITOR
Matt Purcell

MANAGING EDITOR
Jodi Jensen

PROJECT EDITORDana Rhodes Lesh

COPY EDITOR
Kris Simmons

INDEXER
Erika Millen

Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Visual C++ is aregistered trademark of Microsoft Corporation.

TECHNICAL EDITOR
Larry Richardson

PRODUCTION
Marcia Deboy Michael Dietsch Jennifer Earhart Cynthia Fields Susan Geiselman

Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and thepublisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book.

Overview
Introduction 1

WEEK 1

AT A

GLANCE
The Visual C++ Development Environment—Building Your First Visual C++ Application Using Controls in Your Application Allowing User Interaction—Integrating the Mouseand Keyboard in Your Application Working with Timers Getting User Feedback—Adding Dialog Boxes to Your Application Creating Menus for Your Application Working with Text and Fonts

5
7 25 47 67 83 105 121

Day 1 2 3 4 5 6 7

WEEK 1 WEEK 2

IN

REVIEW GLANCE
Adding Flash—Incorporating Graphics, Drawing, and Bitmaps Adding ActiveX Controls to Your Application Creating Single DocumentInterface Applications Creating Multiple Document Interface Applications Adding Toolbars and Status Bars Saving and Restoring Work—File Access Retrieving Data from an ODBC Database

143 147
149 179 199 229 243 279 315

AT A

Day 8 9 10 11 12 13 14

WEEK 2 WEEK 3

IN

REVIEW GLANCE
Updating and Adding Database Records Through ADO Creating Your Own Classes and Modules

337 341343 379

AT A

Day 15 16 17

Sharing Your Functionality with Other Applications—Creating DLLs 405

18 19 20 21

Doing Multiple Tasks at One Time—Multitasking Building Your Own Widgets—Creating ActiveX Controls Internet Applications and Network Communications Adding Web Browsing Functionality to Your Applications

429 473 495 521

WEEK 3

IN

REVIEW

537 541
541 579 637 661677 699 731

APPENDIXES
A B C D E F C++ Review Answers Printing and Print Previewing Understanding and Exception Handling Using the Debugger and Profiler Using MFC’s Helper Classes Index

Contents
INTRODUCTION 1 5

WEEK 1

AT A

GLANCE

DAY 1 THE VISUAL C++ DEVELOPMENT ENVIRONMENT—BUILDING YOUR FIRST VISUAL C++ APPLICATION

7

The Visual C++ Development Environment...
Leer documento completo

Regístrate para leer el documento completo.

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS