DN_CTLCOLORDLGLIST

Far Manager

DN_CTLCOLORDLGLIST

The DN_CTLCOLORDLGLIST event is sent to the dialog callback function before each list item (DI_COMBOBOX, DI_LISTBOX, DIF_HISTORY) is drawn.

Param1

ID of the dialog item that is about to be drawn.

Param2

Pointer to a FarListColors, structure specifying the color scheme of the list.

Return

TRUE - to apply the changes
FALSE - to leave as is.

Controls

ControlDescription
DI_LISTBOX List
DI_COMBOBOX Combined List
DI_EDIT Text input line (with the DIF_HISTORY flag set)
DI_FIXEDIT Fixed sized text input line (with the DIF_HISTORY flag set)

Remarks

The dialog callback function can use this event to change the colors used for drawing the list.

Example

See also: