Programming with Microsoft Visual C++.NET 6ed [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Programming with Microsoft Visual C++.NET 6ed [Electronic resources] - نسخه متنی

George Shepherd, David Kruglinski

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید

Sitemap

Table of Contents

BackCover

Programming with Microsoft Visual C++ .NET, Sixth Edition

Introduction

Managed C++ vs. C#

.NET vs. the Java Platform

Who This Book Is For

What''''s Not Covered

How to Use This Book

How This Book Is Organized

Win32 vs. Win16

System Requirements

Sample Files

Visual Studio .NET Professional Trial Version

Windows Forms Library Extensions

Microsoft Press Support Information

Part I: Windows, Visual C++ .NET, and Application Framework Fundamentals

Chapter 1: Windows and Visual C++ .NET

Visual C++ .NET Components

Chapter 2: The Microsoft Foundation Class Library Application Framework

What''''s an Application Framework?

MFC Library Message Mapping

Documents and Views

Part II: MFC Essentials

Chapter 3: Getting Started with the MFC Application Wizard

What''''s a View?

MFC Library Application Types

MFC Library User Interfaces

Ex03a: The

The <i class=

Drawing Inside the View Window: The Windows GDI

A Preview of the Resource Editors

Win32 Debug Target vs. Win32 Release Target

Understanding Precompiled Headers

Two Ways to Run a Program

Chapter 4: Visual C++ .NET Wizards

Wizard Types

How Wizards Work

Creating a Wizard

Creating a Wizard for Developing Web Applications Using Managed C++

Chapter 5: Windows Message Mapping

Getting User Input: Message Map Functions

Using Windows Mapping Modes

Creating a Scrolling View Window

Using Other Windows Messages

Chapter 6: Classic GDI Functions, Fonts, and Bitmaps

GDI Objects

Fonts

The Ex06a Example

The Ex06c Example: <i class=

Bitmaps

DIBs and the <i class=

Going Further with DIBs

Putting Bitmaps on Pushbuttons

Chapter 7: Dialog Boxes

Modal vs. Modeless Dialog Boxes

Resources and Controls

Programming a Modal Dialog Box

The Ex07a Example: The Dialog Box That Ate Cincinnati

Enhancing the Ex07a Application

Identifying Controls: <i class=

Setting the Dialog Box Background Color or a Control Color

Adding Dialog Controls at Run Time

Using Other Control Features

Windows Common Dialog Boxes

Programming a Modeless Dialog Box

Chapter 8: Common Controls

Standard Common Controls

The Ex08a Example: Standard Common Controls

Advanced Common Controls

The Ex08b Example: Advanced Common Controls

Chapter 9: Using ActiveX Controls

ActiveX Controls vs. Ordinary Windows Controls

Installing ActiveX Controls

The Calendar Control

ActiveX Control Container Programming

The Ex09a Example: An ActiveX Control Dialog Container

ActiveX Controls in HTML Files

Creating ActiveX Controls at Run Time

The Ex09b Example: The Web Browser ActiveX Control

Picture Properties

Bindable Properties: Change Notifications

Chapter 10: Win32 Core Memory Management

Processes and Memory Space

How Virtual Memory Works

The VirtualAlloc Function: Committed and Reserved Memory

The Windows Heap and the <i class=

The Small-Block Heap, the C++ <i class=

Memory-Mapped Files

Accessing Resources

Tips for Managing Dynamic Memory

Optimizing Storage for Constant Data

Chapter 11: Windows Message Processing and Multi-Threaded Programming

On-Idle Processing

Multi-Threaded Programming

Part III: MFC''''s Document-View Architecture

Chapter 12: Menus, Keyboard Accelerators, the Rich Edit Control, and Property Sheets

The Main Frame Window and Document Classes

Windows Menus

Keyboard Accelerators

Command Processing

The Application Framework''''s Built-in Menu Commands

MFC Text Editing Options

The Ex12a Example

Property Sheets

The Ex12a Example Revisited

The <i class=

Creating Floating Shortcut Menus

Extended Command Processing

Chapter 13: Toolbars and Status Bars

Control Bars and the Application Framework

Toolbars

ToolTips

Locating the Main Frame Window

The Ex13a Example: Using Toolbars

Status Bars

The Ex13b Example: Using Status Bars

Rebars

The Ex13c Example: Using Rebars

Chapter 14: A Reusable Frame Window Base Class

Why Reusable Base Classes Are Difficult to Write

The CPersistentFrame Class

ctivateFrame Member Function

The PreCreateWindow Member Function

The Windows Registry

Using the CString Class

The Position of a Maximized Window

Control Bar Status and the Registry

Static Data Members

The Default Window Rectangle

The Ex14a Example: Using a Persistent Frame Window Class

Persistent Frames in MDI Applications

Chapter 15: Separating the Document from Its View

Document-View Interaction Functions

The Simplest Document-View Application

The CFormView Class

The CObject Class

Diagnostic Dumping

The Ex15a Example: A Simple Document-View Interaction

A More Advanced Document-View Interaction

eleteContents Function

The CObList Collection Class

The Ex15b Example: A Multi-View SDI Application

Two Exercises for the Reader

Chapter 16: Reading and Writing Documents

What Is Serialization?

The SDI Application

The Ex16a Example: SDI with Serialization

Windows Explorer Launch and Drag and Drop

MDI Support

The Ex16b Example: An MDI Application

MTI Support

The Ex16c Example: An MTI Application

Chapter 17: Printing and Print Preview

Windows-Based Printing

Print Preview

Programming for the Printer

The Ex17a Example: A WYSIWYG Print Program

Template Collection Classes Revisited: The <i class=

The Ex17b Example: A Multi-Page Print Program

Chapter 18: Splitter Windows and Multiple Views

The Splitter Window

View Options

Dynamic and Static Splitter Windows

The Ex18a Example: A Single View Class SDI Dynamic Splitter

The Ex18b Example: A Double View Class SDI Static Splitter

The Ex18c Example: Switching View Classes Without a Splitter

The Ex18d Example: A Multiple View Class MDI Application

Chapter 19: Context-Sensitive Help

WinHelp vs. HTML Help

The Windows WinHelp Program

The Application Framework and WinHelp

A Help Example with No Programming Required

Help Command Processing

Example Ex19b: Help Command Processing

MFC and HTML Help

Example Ex19c: HTML Help

Chapter 20: Dynamic-Link Libraries

DLL Fundamentals

MFC DLLs: Extension vs. Regular

A Custom Control DLL

Chapter 21: MFC Programs Without Document or View Classes

The Ex21a Example: A Dialog BoxBased Application

The Ex21b Example: An SDI Application

The Ex21c Example: An MDI Application

Part IV: COM, Automation, ActiveX, and OLE

Chapter 22: The Component Object Model

ActiveX Technology

What Is COM?

The Ex22a Example: Simulated COM

Real COM with the MFC Library

The Ex22b Example: An MFC COM In-Process Component

The Ex22c Example: An MFC COM Client

Containment vs. Aggregation vs. Inheritance

Chapter 23: Automation

Creating C++ Components for VBA

Automation Clients and Components

Automation Interfaces

Automation Programming Choices

An MFC Automation Component

An MFC Automation Client Program

An Automation Client Program That Uses the Compiler''''s <i class=

The VARIANT Type

The COleVariant Class

Automation Examples

VBA Early Binding

Chapter 24: Uniform Data Transfer: Clipboard Transfer and OLE Drag and Drop

The IDataObject Interface

The FORMATETC and STGMEDIUM Structures

MFC UDT Support

The MFC CRectTracker Class

The Ex24a Example: A Data Object Clipboard

MFC Drag and Drop

The Ex24b Example: OLE Drag and Drop

Chapter 25: Introducing the Active Template Library

Revisiting COM

Writing COM Code

The COM Infrastructure

An ATL Roadmap

Client-side ATL Programming

Server-Side ATL Programming

Attributed Programming

Chapter 26: ATL and ActiveX Controls

What Are ActiveX Controls?

Using ATL to Write an ActiveX Control

Creating an Attributed Control

Chapter 27: The OLE DB Templates

Why OLE DB?

The Basic OLE DB Architecture

The Basic OLE DB Template Architecture

Creating an OLE DB Consumer

Creating an OLE DB Provider

Attributed OLE DB Programming

Part V: Programming for the Internet

Chapter 28: Internet Essentials

An Internet Primer

Building an Intranet

Winsock Programming

Building a Web Server Using <i class=

Building a Web Client Using <i class=

WinInet

Building a Web Client Using the MFC WinInet Classes

Asynchronous Moniker Files

Chapter 29: Introducing Dynamic HTML

The DHTML Object Model

Visual C++ .NET and DHTML

The Ex29a Example: MFC and DHTML

The Ex29b Example: DHTML and MFC

The Ex29c Example: ATL and DHTML

For More Information

Chapter 30: ATL Server

IIS

ISAPI Server Extensions

Enter ATL Server

The Ex30a Example: An ATL Server Web Site

Part VI: .NET and Beyond

Chapter 31: Microsoft .NET

Windows Component Technology

The Common Language Runtime

Chapter 32: Managed C++

The Common Language Runtime Is Your Friend

Why Use C++?

Managed C++ Extensions

Visual C++ .NET and the Managed Extensions

The Ex32a Example: A Managed C++ DLL Assembly

Making the Assembly Usable

The Ex32b Example: A Managed Client Executable

Adding Managed Extension Support

Chapter 33: Programming Windows Forms Using Managed C++

What''''s Missing from Windows Forms

Chapter 34: Programming ASP.NET Using Managed C++

The Internet as a Development Platform

The Evolution of ASP.NET

The Role of IIS

ASP.NET''''s Compilation Model

The Page Class

The HTTP Pipeline

Web Services

Chapter 35: Programming ADO.NET Using Managed C++

Managed Providers

Working with the Providers

ADO.NET Datasets

Appendix A: Message Map Functions in the MFC Library

Appendix B: MFC Library Runtime Class Identification and Dynamic Object Creation

Getting an Object''''s Class Name at Run Time

The MFC CRuntimeClass Structure and the RUNTIME_CLASS Macro

Dynamic Creation

A Sample Program

Index

Index Symbols

Index A

Index B

Index C

Index D

Index E

Index F

Index G

Index H

Index I

Index J

Index K

Index L

Index M

Index N

Index O

Index P

Index Q

Index R

Index S

Index T

Index U

Index V

Index W

Index X

List of Figures

List of Tables

List of Listings

List of Sidebars

CD Content

/ 319