# DIF_SEPARATOR2

A text string DI_TEXT control with the DIF_SEPARATOR2 flag is displayed as a double horizontal line with double line on edges.

### Controls

The DIF_SEPARATOR2 flag is applicable to the following dialog items:

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

### Remarks

1. Separator line drawing coordinates are (left dialog edge = 0): `X1 = X1_Dialog + 3; X2 = X2_Dialog - 3`.
2. X1 coordinate affects only text string positioning (is displayed above separator line) from Data. If you need a separator line with centered text you must specify X1 = -1.
3. If Data contains an empty string, element is displayed simply as a separator line.

See also:
DIF_SEPARATOR