C++Builder 5 Developers Guide

   

Overview of C++Builder Example Applications

The examples provided with C++Builder 6 are identified and briefly described in Table A.3.

Table A.3. Borland C++Builder Example Applications

Folder

Description

Ado

Contains two examples related to using ActiveX Data Objects (ADO): Briefcase and Shape.

AppEvents

This example demonstrates the use of the TApplicationEvents component including intercepting application messages, exposing event handlers, and posting text to list boxes.

Apps

There are too many to list in this table. See Table A.6 for more details.

CodeGuard

An application containing a memory leak, which is used to demonstrate the effectiveness of CodeGuard .

Controls

Contains four folders demonstrating various types of controls. The SingleInst folder provides a control for limiting the number of instances of an application. The Source folder provides a set of packages (and source code) that represent the controls found on the Samples tab of the VCL palette. The Traydemo provides an example application showing various effects that can be made to the system tray. The VersionInfo folder provides a set of packages that represent controls for identifying version info elements for an application such as product version, file description, generic label, copyright label, and comments.

ConvertIt

An application demonstrating the conversion of various units related to area, distance, mass, temperature, time, and volume. (See Figure A.1 for an illustration of this example).

Figure A.1. The ConvertIt example application.

Corba

Contains two applications demonstrating the effectiveness of Corba: atm and corbamidas .

CustomDraw

A custom draw TreeView example that demonstrates how to change font and background including assigning a bitmap to the canvas of a TTreeView control.

DBTasks

Contains a number of applications related to database tasks . There are too many to list in this table; see Table A.9 for more details.

DDraw

Contains a number of C++Builder DirectDraw examples.

Doc

Contains a mix of applications related to document elements. There are too many to list in this table; see Table A.11 for more details.

Docking

Application shows how docking works in several scenarios, including conjoined tab hosts .

Experts

Contains an application illustrating the development of experts, and miscellaneous C++Builder component operations.

FastNet

Contains a number of applications using NetMaster components .

Games

Contains three game examples for C++Builder: a Pong-like game in the EarthPng folder, Coleco-like football game in the Football folder, and a game called Swat! in the Swat folder. (See Figure A.2 for an illustration of the Football example.)

Figure A.2. The Football game application.

Indy

Contains a number of examples that demonstrate the Indy network components.

Internet

Contains two Internet-based applications: Chat and a Hello World Dynamic Shared Object (DSO) for Apache.

MFC

Contains five Microsoft Foundation Class (MFC) library usage examples.

Midas

Contains seven useful examples demonstrating Midas technologies.

OpenGL

Contains two OpenGL API examples: Drawing and Rotate.

PWordDemo

Demonstrates automation of Microsoft Word services within a C++Builder app.

ShellControls

Contains package source for Shell controls, and an example that demonstrates the use of these Shell controls.

StdLib

A Standard Template Library (STL) example that runs miscellaneous demos of STL algorithms and types.

Teechart

An example application that demonstrates the Tee Chart Pro component.

Toolsapi

Contains a set of examples demonstrating how to use Borland's Tools API using C++Builder. Examples include extensions to filters, action lists, native tool services, and key bindings.

VirtualListView

This program demonstrates how to create a file explorer application.

WebServ

An example of a Common Gateway Services application for Web servers.

WebServices

Contains three Web Services examples: EchoService , PostSOAP , and SOAPDataModule . EchoService provides two example ISAPI and CGI servers, and a client application.

WebSnap

Contains a number of useful WebSnap examples. There are too many to list here. See Table A.14 for details.

WinTools

A C++Builder Command Line Tools GUI example. (See Figure A.3 for an illustration of this example.)

Figure A.3. The WinTools command-line GUI application.

Let's drill down further and identify some of the other examples that were too broad to list in Table A.3.


   
Top

Категории