Microsoft Visual C++ 6.0桌面应用程序开发

Microsoft Visual C++ 6.0桌面应用程序开发
作 者: 美国Microsoft公司著
出版社: 北京大学出版社
丛编项: 微软指定MCSD教材
版权说明: 本书为出版图书,暂不支持在线阅读,请支持正版图书
标 签: VC++
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《Microsoft Visual C++ 6.0桌面应用程序开发》作者简介

内容简介

本书是《微软指定MCSD教材(影印版)》丛书中的一本,讲述Visual C++ 6.0桌面应用程序开发技巧,内容包括建立开发环境、MFC、创建用户界面、建立COM组件、解决方案的测试与调试等。本书还可指导您准备MCP 70-016考试(微软认证解决方案开发人员证书的一门核心考试)。本书由微软公司专家编写,技术深入,权威性强,可作为Visual C++ 6.0桌面应用程序开发人员和MCP考试应试者的参考书。

图书目录

About This Book

Intended Audience

Prerequisties

Course Overview

Getting Started

Using This Book to Prepare for Certification

Microsoft Certified Professional Program

Technical support

About the Authors

Chapter1:Preparing for Application Development

Lesson1:Defining the Solution with the Microsoft solutions Framework

Overveiw of MSF

Using the MSF Development Team Model

Using the MSF DEvelopment Process Model

Using the MSF Application Model

Using the MSF DEsign Process Model

DEveloping Desktop Applications

Lesson Summary

lesson2:Installing the Visual C++ Development Tools

Microsoft Visual C++ Installation

Installation Options

General Tools

Completing the Installation

Lesson Summary

Lab1:Introducing the STUpolad Application

Customer Requirements

Setps Toward a Solution Design

TUpload Application

Review

Chapter2 Visual c++ Development Environment

Lesson1:Creating an MFC Project

Projects,Configurations,and workspaces

Creating a new Project

Using the AppWizard

Lesson Summary

Lesson2:Exploring the Development Environment

Visual C++ User Interface

menus and Toolbars

Setting Environment Options

Getting help

Project Configuration Setting

Building a Project

Lesson summary

lesson3:Source Code Control

Setting Up Source Code Control Using Visual SourceSafe

Setting up a VSS Database

Placing the MyApp Project Under Source Code Control

Using the VSS Explorer

Source Code Control Configuration

Reusing Visual SourceSafe Files

Viewing Version History

Archiving a VSS Project

lesson Summary

Lab2:Creating the STUpload Development Project

Review

Chapter3 Building Applications with the Microsoft Foundation Classes

Lesson1:Overview of MFC

MFC and the Win32 API

Win32 Platform Considerations

MFC Class Hierarchy

Veiwing the MFC Object Hierarchy

MFC Class Hierarchy

Viewing the MFC Object Hierarchy

MFC Class Categories

MFC DLLs

Lesson Summary

Lesson2:Win32 Application Architecture

Windows Application Fundamentals

Creating a Win32 Application

Lesson Summary

Lesson 3:MFC Application Framework

MFC Application Architecture

application Frmaework Message Handling

Lesson Summary

Lesson4:Document/View Architecture

Cocuments and Views

Benefits fo the Document/View Architecture

SDI and MDI Applications

Object in the Document/View Architecture

Drawing,Printing,and Print Preview Architecture

Lesson Summary

lab3:Displaying Application Data

Review

Chapter4 Creating the User Interface

Lesson1:Windows Application User Interfaces

Application and Document Icons

Editing Application Menus

Adding Shortcut Keys

Editing Application Toolbars

Handling Menu and Toolbar Selections

Dynamically Updating Menu and Toolbar Commands

Writing to the Status Bar

Lesson Summary

Lesson2:Creating Dialog Boxes

Dialog boxes

Types of Dialog boxes

Creating a Dialog Box Template

Creating and Usig a Dialog Box Class

Common Dialog Classes

Lesson Summary

Lab4:Creating the STUpload User Interface

Editing he STUpload application Menu

ADding New Shortcut deys

EDiting the Stupload Application Toolbar

Creatin STUpload Application Dialog Boxes

Using Common Dialog Boxes

Review

Chapter5:Implementing Application Behaviors

Lesson1 :Working with Dialog Boxes

Dialog Data Exchange and Vilidation

Using OnInitDialog() to Initizlize Controls

handing a Control Message

Using a Dialog bolx to Edit Application Data

Implementing Property sheets

Lesson Summary

Lesson2:Displaying and printing Application Data

Understanding Coordinate mapping

Scrolling Views

Drawing in a Device Context

Printig Process

Print Preview

Lesson summary

Lesson 3:Using Multiple threads

Multithreaded Applications

Multithreading with MFC:Cwin Thread Class

Creating a Worker thread

Thread Synchronization

lesson summary

Lesson 4:Context-Sensitive Help

WinHelp

help Development Components

Source Code Components

Creating Help Topics

HTML Help

Lesson summary

Lab5:Enhancing the STUpload Data Display

Displaying the Select Fund Dialog Box

Displaying fund Names in the Funds List box

Handing NOtification Messages from the select Fund Dialog box

Making the Select Fund Dialog Box a Topmost Window

Displaying STUPload Application Data

Review

Chapter Persistent Data

lesson 1:File I/O

CFile Class

Opening and Losing Files

Reading and Wirting files

Lesson summary

Lesson2:Serialization of Application data

MFC support for Serialization

Serializing Application Data

Making a Serializable Class

Serializing MFC Collection Classes

lesson Summary

Lesson 3:Accessing the Registry

Registry Data

MFC Support for the Registry

Working with Application User Profile Settings

REgistry Support in the Win32 API

Lesson summary

Lab6:Working with Persistent Data

Improting Data from a Text File

Implementing STUpload Serialization

Review

Chapter7:Adding Database Support

Lesson1:Data Access with Visual C++

Data Access Interfacs

Using the ODBC Data Source Administrator

Relational Database Concepts

Structured Query Language

Lesson Summary

Lesson 2:MFC Database Support

MFC Database Classes

Creating a DAtabase Application with AppWizard

Filtering a Recordset

Lesson Summary

Lesson 3:Introduction to ADO

Advantages of Using ADO

ADO Object Model

Using the ADO Data Controls

Lesson Summary

Lab7:Querying a Database

IMplementing the Query Dialog Box

Implementing the Query Results Dialog box

handing the Query Database Menu Command

Review

Chapter8 Introducing the Component Object Model

Lesson 1:COM Architecture

Using COM Objects

COM Interfaces

GUIDs

COM Registry Entries

Creating Objects Using CoCreateInstance()

Lesso Summary

Lesson2:Interface Marshaling

Component Execution Contexts

Marshaling Tchnologies

Lesson Summary

Lesson 3:Dispatch Interfacecds

IDispatch Interface

VARIANT Data Type

Type Libraries

Dual Interfaces

Lesson Summary

Lesson4:Threading Models

COM Threading Models

Threading -Model Registry Keys

lesson Summary

Lesson5:ActiveX Controls

ActiveX Controls and Containers

Features of ActiveX Controls

lesson Summary

Lab8:Using the OLE/COM Object Viewer

Review

Chaper9 Creating COM Components

Lesson1:Creating com Components with ATL

using ATL

Creating an ATL COM Project

Inserting a NEW COM Component

Adding Methods to the Component Interface

Adding Properties to the Component Interface

Implementing Component methods

Lesson Summary

lesson 2:understanding ATL COM Ccomponents Code

Component Class Definition

Component Method Implementation Global Entry-Point Functions

Registry

Script Resource

IDL file

Alternative Approaches To Development

Lesson Summary

Lab9:Creating the STUpload Database Access Component

Review

Chapter 10 COM Clients

Lesson1:COM Client Applications

COM Server Header Files

Visual C++ COM Compiler Support

lesson summary

Lesson2:Reusing COM Objects

Object Reuse in Visual C++ and COM

Containment and Aggregation

Implementing AGgregation using ATL

Lesson Summary

Lab10:Implementing the UploadStockData Component

Creating a Data Link file

Implementing the IUploadStockData Interface Methods

Implementing the Upload Data Command for the STUpload Application REview

Chapter11 Creating ActiveX Controls

Lesson 1:Creating ActiveX Controls with MFC

Creating an MFC ActiveX Control Project

Defining the Control Interface

Creating Property Pages

OnDraw()Function

Implementing the Control Method

Testing the Control

Lesson Summary

Lesson2:Creating ActiveX Controls with ATL

Adding Controls to an ATL COM Project

ADding Properties

ADding Events

ADding Methods

Creating Property Pages

Drawing the Control

MFC ro ATL?

Lesson Summary

Lab11:Using an Activex Control in an Application

Review

Chapter 12 Internet Programming

Lesson1:Working with Dynamic HTML

Review fo the Internet,Intranets,and HTML

Dynamic HTML

Microsoft WebBrowser Conmtrol

MFC Web Browser -Style Applications

Creating HTML Controls with ATL

Dynamic HTML Scriptlets

Lesson summary

Lesson2:Creating ActiveX Documents

using ActiveX Documents

Using ActiveX Documents on a Web Site

Creating an ActiveX Document Server

Deploying an ActiveX Document on a Web Site

lesson summary

Lesson3:Programming the Web Server

ISAPI Server Extensions

Creating an ISAPI Server Extension Using MFC

ISAPI Filters

Lesson summary

Lab12:Creating STUpload as an ActiveX Document Server

Review

Chapter13:Error Handling,Debugging,and Testing

Lesson1:ErrorHandling

Anticipating Progrma Errors

Exceptions

Logging Errors

Lesson Summary

lesson2:COM Errors

HRESULT Codes

Error Event

Lesson3:Introduction to Dubugging

What Is a Debugger?

Debug vs.Release

MFC Debug Macors

lesson Summary

Lesson 4:Using the Integrated Debugger

Breakpoints

Setting Breakpoints

Breakpoints Dialog Box

Running the Debugger

Debugger Windows

Stepping Through Code

Edit and Continue

Debugging COM Components

Lesson Summary

Lesson5:Using the Dependency Walker

What is a Dependency ?

Dependeney Information

Lesson Summary

Lesson 6:using Spy++

Spy++ Views

Viewing windows Messages in Spy++

Lesson summary

lesson7:TEsting Your Application

Glossary of Testing Terms

Developing a Test Plan

Lesson Summary

lab13 :Debugging the STU pload Application

Running STUpload in the Debugger

Steping through Code

Setting Breakpoints

REview

Chapter14 Developing Desktop Applications

lesson1:Windows Setup Programs

Setup Program Conventions

Guidelines for Writing a Setup Program

Uninstall Program Conventions

ADding and Removing Registry Information

Cabinet Files

Registry Files

lesson Summary

Lesson 2:Using InstallShield

installing InstallShield

Running the InstallShield Tutorial

Including and REmoving Program files

Creating the Setup.exe Program

Lesson Summary

Lesson3:Registering COM Components on the Client Computer

Self-Registering Components

Adding Self-Registering Components to an Installshield Project

Lesson Summary

lesson4:Deployment Options

Media-Based Deployment

Network-Based Deployment

Web-BASEd Deployment

Deploying ActiveX Controls

Deployment Checklist

Lesson Summary

Lesson 5:Zero ADministration for Windows

Features of ZAW

The Windows Installer

Systems Management Server

Zero ADministration Kit

Lesson Summary

Lab14:Packaging and Deploying the STUpload Application

Building a Release Version of STUpload

Creating the InstallShield Project

Adding Dependencise to the Project

Building and Testing the Setup Program

Review

Appendix Review Questions and Answers

Glossary

Index