Maximum length of STATICTEXT control
Keywords: STATICTEXT
Question:
The text in a STATICTEXT control is being truncated after about 50-ish bytes regardless of the value specified for the width of this control. The width of the dialog box itself, where the control is displayed, is quite sufficient. Is there a maximum value for this control?Answer:
Maximum length? No that I'm really aware of.However, if the text overflows the box, Windows will back up to the first space before the cutoff point and truncate the line there.
It also will not display more than one line.
Article ID: W12849Filename: Maximum Length of STATICTEXT control.txt