CLabel Displaying box characters in the text if it exceeds its control height - MFC?

195 views Asked by At

I have a text to be displayed on dialog. I used CLabel which extends CStatic Class. Problem is, if i have to display multi-line in CLabel considering, it can adjust up to two lines. if i have to enter third line i used DT_WORD_ELLIPSIS flag so that text is displayed in second line itself by appending ellipsis to it. everything works fine but, some small rectangle box characters are displayed when third line is appended. is it problem with \n? please help :o

0

There are 0 answers