The DIF_CENTERTEXT flag allows to align text in the DI_TEXT and DI_VTEXT elements centering it relatively to element's geometry.
The DIF_CENTERTEXT flag is applicable to the following dialog items:
| Control | Description |
|---|---|
| DI_TEXT | Text string. |
| DI_VTEXT | Vertical text string. |