Bookstore In cooperation with


C++Builder How-To: Table of Contents

Chapter 1: Forms

  1. Automatically Center a Form in My Application
  2. Create a Form on the Fly at Runtime
  3. Drag a Captionless Window
  4. Set Minimum and Maximum Sizes for My Forms
  5. Make [ENTER] Act Like [TAB] in My Forms
  6. Paint an Interesting Background on an MDI Parent Form
  7. Customize a Window's Title Bar with Graphics
  8. Ask Whether the User Really Wants to Close a Form
  9. Show a Splash Screen When the Program Starts
  10. Display My Own Modal Dialog Box

Chapter 2: Standard Components and Classes

  1. Use the String Class
  2. Use Properties with Set Values
  3. Create a Combo Box That Best Matches User Input
  4. Use Drag-and-Drop to Move Items from One List Box to Another
  5. Add a Horizontal Scroll Bar to a List Box
  6. Add Images to a List Box
  7. Create a Windows 95-Style Scroll Bar
  8. Create a Multipage Dialog Box
  9. Create a Multipanel Status Bar

Chapter 3: Text Controls

  1. Create a Simple Word Processor
  2. Add Search and Replace Functions to My Word Processor
  3. Use Different Fonts in My Word Processor
  4. Add Cut and Paste to My Word Processor
  5. Implement Undo in a Word Processor
  6. Create a Right-Justified Edit Box
  7. Create a Font Selection Combo Box
  8. Limit Text Entry to Certain Characters

Chapter 4: Mouse and Menu

  1. Create and Use My Own Mouse Cursor
  2. Modify the Menu at Runtime
  3. Display a File History List in a Menu
  4. Put Pictures in Menus
  5. Create and Use Custom Check Marks in Menus
  6. Use a Different Font in a Menu
  7. Use a Popup Menu

Chapter 5: Graphics

  1. Use a Canvas to Draw on a Form
  2. Visualize the Pen Mode Settings
  3. Draw a Bounding Box with the Mouse
  4. Create Hot Spots in Pictures
  5. Load Icons from a Resource File and Display Them on a Form
  6. Create Animation
  7. Fade One Picture into Another
  8. Fade Text In and Out over a Background
  9. Draw with a True Cartesian Coordinate System
  10. Translate a System Color into an Actual Color
  11. Draw a Bitmap with a Transparent Background
  12. Autosize a Form to Fit a Picture and Autosize a Picture to Fit a Form
  13. Write a Screen Saver

Chapter 6: Environment and System

  1. List Files as in File Manager
  2. Run Another Program from My Application
  3. Restart Windows
  4. Search an Entire Disk for a File
  5. Disable the Windows Screen Saver
  6. Prevent Multiple Instances of My Program from Being Loaded
  7. Determine the Directory Where Windows Is Located
  8. Determine How Much System Memory Is Available
  9. Determine What Version of Windows Is Running
  10. Display an Icon in the Windows Tray
  11. Find and Set Environment Variables
  12. Drag and Drop Files
  13. Determine Which Programs Are Running
  14. Find Out Which Disk Drives Are Available and How Much Disk Space There Is

Chapter 7: Peripherals

  1. Use the Modem to Dial a Voice Call
  2. Send and Receive Data Through a Serial Port
  3. Determine Whether There Is a Disk in a Floppy or CD-ROM Drive
  4. Determine the Color Capabilities of a Monitor or Printer

Chapter 8: Internet

  1. Create a Basic HTML Browser
  2. Send Mail Through the Internet
  3. Create a Basic CGI Application
  4. Create a Basic ISAPI Application
  5. Communicate Between Programs over the Internet

Chapter 9: Multimedia

  1. Determine Whether a System Has a Sound Card
  2. Play Wave and MIDI Files
  3. Play Video Files in My Form
  4. Play an Audio CD
  5. Detect and Use a Joystick in My Application
  6. Display JPEG and GIF Files

Chapter 10 Printing

  1. Print Simple Text Documents
  2. Allow the User to Select a Page Range to Print
  3. Maintain the Same Appearance on the Printed Page as on the Screen
  4. Show Print Spooler Status
  5. Create a Simple Report Using Quick Reports

Chapter 11: Database

  1. View the Contents of a Database
  2. View the Contents of a Database Using SQL
  3. Use VCL Components to Automatically Display and Edit Database Information
  4. Use VCL Components to Navigate a Database
  5. Search a Database
  6. Edit a Database Without Using Data-Aware Controls
  7. Control the Layout of Database Table Displays at Design Time
  8. Control the Layout of Database Table Displays at Runtime
  9. Use Lookup Controls in a Relational Database
  10. Create a BDE Alias at Runtime

Chapter 12: Threads

  1. Create a Separate Thread of Execution
  2. Access the Screen from a Background Thread
  3. Safely Share Data Between Multiple Threads
  4. Safely Share Limited Resources Between Multiple Threads
  5. Make a Thread Wait for an Event to Occur
  6. Start Threads with Different Priorities
  7. Run a Query in a Background Thread

Chapter 13: OLE

  1. Use Drag-and-Drop in My Application
  2. Use OLE Objects in My Application
  3. Create an Application That Can Be Controlled by Another Through OLE Automation
  4. Control Another Application Through OLE Automation

Chapter 14: Exceptions

  1. Display a Custom Message When an Exception Occurs
  2. Create a Custom Exception
  3. Trap an Exception
  4. Handle Hardware Exceptions

Chapter 15: Custom Components

  1. Create a Custom Component from an Existing VCL Class
  2. Use a Custom Component at Design Time
  3. Create a Custom Component from Scratch

Chapter 16: The Polished Application

  1. Make a Professional-Style About Box
  2. Create and Display Separate Balloon and Status Bar Hints
  3. Make a Form That Can Be Translated into Other Languages
  4. Use the Registry to Store Application Configuration Information
  5. Give the User the Ability to Customize Screen Labels

Chapter 17: Tricks and Tips

  1. Evaluate a Numerical Expression
  2. Create a Control Array like in Visual Basic
  3. Edit a Control as Text
  4. View the Contents of a .DFM File
  5. Create a DLL
  6. Use Modules Written in Delphi