Text Justification
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am trying to fully justify text in CRichEditView. (MFC)When I compile and test the program, the text selected seems to default to left justification not full interword. I have RichEdit 4.1 installed, running windows xp pro, with all critical updates installed. If PFA_LEFT, PFA_RIGHT, AND PFA_CENTER work with pf.wAlignment, why won't PFA_FULL_INTERWORD? This is supported in RichEdit 4.1, and even in 3.0, but for some reason when the function is called below, Left justification is the only response. Maybe I shoud contact Microsoft? Any suggestions? Thank you so much if you can help. :-D GetParaFormatSelection(); PARAFORMAT2 pf; pf.dwMask = PFM_ALIGNMENT; pf.wAlignment = PFA_FULL_INTERWORD; VERIFY(SetParaFormat(pf)); Richard