# DIF_BOXCOLOR

The DIF_BOXCOLOR flag allows to specify initial element color corresponding to the dialog frame color (COL_WARNDIALOGBOX or COL_DIALOGBOX).

### Controls

The DIF_BOXCOLOR flag is applicable to the following dialog items:

Control | Description
--- | ---
DI_TEXT | Text string.
DI_VTEXT | Vertical text string.

### Remarks

It is possible to change the color value upon receiving the DN_CTLCOLORDLGITEM event in the dialog callback function.

See also:
DIF_SETCOLOR, Color indexes