CommonDialog

Object List Hierarchy Next Object

Definition:

Encapsulates features common to all the common dialog objects. The family of common dialogs provides an easy way to access and create basic dialog boxes that allow users to perform such common operations as font and color selection, and searching for, opening, and saving files.

Specialized Features:

The following table lists and describes the properties added by CommonDialog. There are no added methods or events.


Properties Use to...


Title Determines the text that appears as the title of the common dialog

Copied Features:

Noneimages/Phx00010.gifthis is a top-level object.

Details:

The CommonDialog family consists of five different objects: ColorDialog, FindDialog, FontDialog, OpenDialog, and SaveAsDialog

The objects in the CommonDialog family give you easy access to the Windows DLL (COMMDLG.DLL) containing information that allows you to quickly create these standard dialog boxes. By using one of the CommonDialog classes you eliminate the need to re-create standard dialog boxes for each application you design.


Note: COMMDLG.DLL must be in your Windows system directory to use this control, and must be included with the files you are distributing with your program.