DN_CTLCOLORDIALOG

Far Manager

DN_CTLCOLORDIALOG

The DN_CTLCOLORDIALOG event is sent to the dialog callback function before the dialog background is drawn.

Param1

0

Param2

Color attribute (foreground+background) that the callback function wants to use to draw the dialog background. By default, this attribute is equal to COL_DIALOGTEXT for standard dialogs and COL_WARNDIALOGTEXT for dialogs with the FDLG_WARNING flag set.

Return

Color attribute (foreground+background) that the callback function should use to draw the dialog background.

Remarks

This event is received immediately after DN_DRAWDIALOG.

Example

See also: