Chapter 2. OODialog Method Reference

The classes provided by OODialog form a hierarchy as shown in The Hierarchy of OODialog Classes.

Figure 2-1. The Hierarchy of OODialog Classes

The classes are:

PlainBaseDialog, BaseDialog

Base methods regardless of whether the dialog is implemented as a binary resource, a script, or dynamically. PlainBaseDialog provides limited functionality.

PlainUserDialog

Subclass of PlainBaseDialog used to create a dialog with all its control elements or to execute a dialog stored in a resource script (.RC). This class has limited functionality.

DynamicDialog, DialogExtensions, WindowBase, WindowExtensions

Internal mixin classes used to extend PlainBaseDialog, PlainUserDialog, BaseDialog, UserDialog, and DialogControl. The methods provided by these classes are not listed separately but are listed in BaseDialog or UserDialog.

UserDialog

Subclass of BaseDialog used to create a dialog with all its control elements, such as push buttons, check boxes, radio buttons, entry lines, and list boxes.

ResDialog

Subclass of BaseDialog for dialogs within a binary (compiled) resource file (.DLL).

CategoryDialog

Subclass of UserDialog used to create a dialog with several pages that overlay each other.

TimedMessage

Class to show a message window for a defined duration.

InputBox

Class to dynamically define a dialog with a message, one entry line, and two push buttons (OK, Cancel).

PasswordBox

Similar to InputBox, but keystrokes in the entry line are shown as asterisks (*).

IntegerBox

Similar to InputBox, but only numeric data can be entered in the entry line.

MultiInputBox

Similar to InputBox, but with multiple entry lines.

ListChoice

Class to dynamically define a dialog with a list box, where one line can be selected and returned to the caller.

MultiListChoice

Similar to ListChoice, but more than one line can be selected and returned to the caller.

CheckList

Class to dynamically define a dialog with a group of check boxes, which can be selected and returned to the caller.

SingleSelection

Class to dynamically define a dialog with a group of radio buttons, where one can be selected and returned.

Dialog

Subclass of UserDialog for simple dialogs. You can change the default dialog style from UserDialog to ResDialog.

AnimatedButton

Class to implement an animated button within a dialog.

DialogControl

Class to implement methods that are common to all dialogs and dialog controls.

TreeControl

Class to implement a tree to display the list of items in a dialog in a hierarchy.

ListControl

Class to implement a list view to display the items in a dialog as a collection.

ProgressBar

Class to implement a progress indicator within a dialog.

SliderControl

Class to implement a slider or trackbar within a dialog.

TabControl

Class to implement tabs, which can be compared to dividers in a notebook or labels in a file cabinet.

StaticControl

Class to query and modify static controls, such as static text, group boxes, and frames.

EditControl

Class to query and modify edit controls, which are also called entry lines.

ButtonControl

Class to implement push buttons within a dialog.

RadioButtonControl

Class to implement radio buttons within a dialog.

CheckBoxControl

Class to implement check boxes within a dialog.

ListBoxControl

Class to implement list boxes within a dialog.

ComboBoxControl

Class to implement a combo box, which combines a list box with an edit control.

ScrollBarControl

Class to implement a scroll bar within a dialog.

PropertySheetControl

Class to implement a property sheet, which is similar to a category dialog that spreads its dialog items over several pages (categories), where the individual pages are controlled by a tab control instead of radio buttons or combo box lists.