The DIF_BOXCOLOR flag allows to specify initial element color corresponding to the dialog frame color (COL_WARNDIALOGBOX or COL_DIALOGBOX).
The DIF_BOXCOLOR flag is applicable to the following dialog items:
| Control | Description |
|---|---|
| DI_TEXT | Text string. |
| DI_VTEXT | Vertical text string. |
It is possible to change the color value upon receiving the DN_CTLCOLORDLGITEM event in the dialog callback function.