Displaying List Box Entries in Color
Description
To specify that the list box rows should be displayed in color, specify the font color in the owner-draw format string as follows:
O={F=@1}{B=Red,Blue}{C=White,Cyan}{@1}
This change causes the list box to be displayed like this, Displaying List Box Text in Color:
Including Line Breaks in a List Box
The following example puts a line break before each row of the list box by including the {LF} directive in the owner-draw string. This change causes the list box to be displayed like this, Including Line Breaks in a List Box:
Limitations
Desktop applications only.
See Also