O'Reilly logo

C++ Windows Programming by Stefan Björnander

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Dialogs, Controls, and Page Setup

In this chapter, we look into the implementation of the following:

  • Custom dialogs: The Dialog class is intended to be inherited by subclasses and equipped with controls.
  • Controls: The Control class and its subclasses. There are controls for edit fields, check boxes, radio buttons, list boxes, and combo boxes.
  • Converters: Between strings and other values. For instance, when the user inputs text that represents a numerical value, it is possible to add a converter that converts the text to a value, or gives an error message if the text does not hold a valid value.
  • Page Setup: Where we extend the Dialog class. The dialog is used when setting page settings for a document of the StandardDocument class. It handles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required