Object-Oriented Programming for Windows 95 and NT

Chapter 7: Standard Controls

Overview

This chapter describes the standard controls that are available in all the environments under consideration. In each case, the class of the control is given for both the Microsoft Foundation Class Library and the Delphi Object Hierarchy. The controls described below can be set up using the Visual C++ Developer Studio, Delphi, or Visual Basic tool palettes (Figures 7.1, 7.2, and 7.3). The Developer Studio control palette is shown in the illustrations.

Each control has a number of properties that determine its appearance and behavior. All of these controls respond to standard events, such as receiving and losing the focus and mouse activities in the immediate area of the controls. If these controls are included on a dialog box, as part of an external resource, then they will be created automatically when the dialog box is created and destroyed when the box is closed. Alternatively, controls that are created with the new keyword must be destroyed with delete when no longer needed.

Figure 7.1: Developer Studio control palette
Figure 7.2: Delphi component palette
Figure 7.3: Visual Basic toolbox

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Scan and Video Converters
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.