Visual C++ 6 Unleashed

Book

Description

Copyright 2000

Dimensions: 7.375 X 9.125

Pages: 1000

Edition: 1st

Book

ISBN-10: 0-672-31241-7

ISBN-13: 978-0-672-31241-0

Visual C++ 6 Unleashed provides comprehensive coverage of the core topics for Visual C++ 6 programming. This book skips the beginning level material and jumps right in to Visual C++. By the end of the book, you will be able to master the 32-bit power of Windows using Visual C++ as your programming language. Topics include mastering the debugger, using and integrating HTML help, creating custom AppWizards, customizing the IDE with add-ins, writing multi-threaded MFC applications, developing NT services, using advanced UI techniques, and much more.

Mapping Member Variables to Controls. The Data Exchange and Validation Mechanism. Initializing the Dialog Box Controls. Retrieving Data from the Controls. Responding to Control Notifications. Dynamically Mapping Controls. Responding to OK and Cancel.

Derived Control Classes in Dialog Boxes.

Creating a Derived Control. Customizing the Derived Control. Using the Derived Control in a Dialog Box.

The <F35014M>CDC Class. The <F35014M>CClientDC Class. The <F35014M>CPaintDC Class. The <F35014M>CMetaFileDC Class.

Brushes and Pens.

Pens and the <F35014M>CPen Class. Selecting Pens into the Device Context. Using Stock Pens. Drawing with Pens. Brushes and the <F35014M>CBrush Class. Selecting Brushes into the Device Context. Using Stock Brushes. Drawing with Brushes.

MFC Classes for GDI Operations.

The <F35014M>CPoint Class. The <F35014M>CSize Class. The <F35014M>CRect Class. The <F35014M>CRgn Class and Clipping.

MFC Exception Macros. The Advantages of Converting from MFC Exception Macros. Predefined Exceptions for MFC. Using <F35014M>CFileException. Using <F35014M>CMemoryException. Using <F35014M>CResourceCollection. Using <F35014M>CArchiveException. Using <F35014M>CDaoException. Using OLE Exceptions: <F35014M>COleException and <F35014M>COleDispatchException. Using <F35014M>NotSupportedException. Using <F35014M>CUserException.

Summary.

15. Debugging and Profiling Strategies.

MFC Support for Debugging. Techniques for Debugging Your MFC Application.

AppWizard: Step-by-Step. A Closer Look at the <F35014M>GLServer Classes. Combining Container and Server Menus During Activation. Testing Out the GLServer Skeleton. Adding Customization to the GLServer Skeleton. Testing the GLServer Example.

Designing an MFC Automation Server.

Using MFC AppWizard to Create Automation Servers. A Closer Look at the <F35014M>MFCAuto Classes. Adding Customization to the <F35014M>MFCAuto Sample Skeleton. Testing the <F35014M>MFCAuto Example.

Summary.

28. ActiveX Controls.

A Short History. What Is an ActiveX Control?

ActiveX Control Architecture. Properties. Events. Methods.

ActiveX Control Interfaces. ActiveX Controls.

Supporting the <F35014M>IUnknown Interface. A Control Must Be Self-Registering. Component Categories. Component Categories and Interoperability. Code Signing. Performance Considerations.

Reinventing the Wheel.

Visual C++ ActiveX Controls.

Testing an ActiveX Control.

Displaying a Control on a Web Page. ActiveX Control Pad. ActiveX Control Test Container. ActiveX Controls in Development Tools.

Methods of Creating ActiveX Controls. Creating an ActiveX Control with Visual C++ and MFC.

Using Visual C++ and MFC for ActiveX Controls. MFC Encapsulation of ActiveX and ActiveX Controls.

Summary.

VII. USING THE ACTIVE TEMPLATE LIBRARY.

29. ATL Architecture.

The History of ATL. ATL's Advanced Use of Templates. Commonly Used ATL Classes.

High-Level ATL Classes. ATL Helper Classes.

Using the Interface Definition Language. ATL Wizards.

Using the ATL COM AppWizard. Using the ATL Object Wizard. Merging the Proxy/Stub Code with Your DLL.

Summary.

30. Creating COM Objects Using ATL.

Using IDL to Describe Custom COM Objects.

Understanding MIDL Attributes. Compiling an IDL Source File with MIDL. Using Type Libraries. Using Structures in IDL. Using Enumerations in IDL. Pointers in IDL. Using Direction Attributes in IDL.

Updates

More Information

Get unlimited 30-day access to thousands of
Books & Training Videosabout technology, professional development and digital media
If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months.