# Dialog API controls

Dialog API supports a set of controls. Each one is described by a FarDialogItem structure. An array of these structures is passed to the Dialog and DialogEx functions to show a dialog.

Dialog item | Value | Description
--- | --- | ---
DI_BUTTON | 7 | Button control
DI_CHECKBOX | 8 | Checkbox control
DI_COMBOBOX | 10 | Combobox control
DI_DOUBLEBOX | 3 | Double line frame
DI_EDIT | 4 | Edit control
DI_FIXEDIT | 6 | Edit control with a fixed text length
DI_LISTBOX | 11 | Listbox control
DI_PSWEDIT | 5 | Password edit control
DI_RADIOBUTTON | 9 | Radiobutton
DI_SINGLEBOX | 2 | Single line frame
DI_TEXT | 0 | Text string
DI_USERCONTROL | 255 | User-defined control
DI_VTEXT | 1 | Vertical text string

See also:
Dialog item flags