CDlgMap : CObj

A class to help map dialog control indices to meaningful keywords. If you use lots of controls in your dialogs, then associating them to keywords makes programming and maintenance a lot easier.

Constructor

Create a new dialog map instance for the dialog-item dlg. Note that this is the same as CObj NEW CDlgMap dlg.

Usage:

CDlgMap dlg|* [ type icon title ]

Parameters:

dlg

The id of a dialog item or an asterisk if the dialog should be created on construction. If the dialog map creates it's own dialog, it also destroys it on destruction.

See the macro CREATEMENU for details of the other parameters.

Result:

Always returns 0.

Examples:

#map := CDlgMap $#dlg

In This Section

CDlgMap Member Variables

Member Functions

Examples