Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How find out the line number of died line in VC6.0? Pin
lxkjlzz19-Nov-09 16:58
lxkjlzz19-Nov-09 16:58 
GeneralRe: How find out the line number of died line in VC6.0? Pin
T210220-Nov-09 12:46
T210220-Nov-09 12:46 
QuestionRe: How find out the line number of died line in VC6.0? Pin
22491720-Nov-09 18:32
22491720-Nov-09 18:32 
Questionconverting any base to decimal base 10 Pin
Member 382253219-Nov-09 13:36
Member 382253219-Nov-09 13:36 
AnswerRe: converting any base to decimal base 10 Pin
«_Superman_»19-Nov-09 14:11
professional«_Superman_»19-Nov-09 14:11 
GeneralRe: converting any base to decimal base 10 Pin
Member 382253227-Nov-09 14:48
Member 382253227-Nov-09 14:48 
QuestionWhat do you use CMFCRibbonBar::SetKeyboardNavigationLevel for? Pin
Dale Haessel19-Nov-09 6:34
Dale Haessel19-Nov-09 6:34 
QuestionCRichTextCtrl maintaining paragraph justification Pin
maycockt19-Nov-09 4:51
maycockt19-Nov-09 4:51 
Hi,

I'm reading a file straight in to a CRichEditCtrl, butI am not getting any justification maintained.
The rtf file has been created in Microsoft Word, and is fully justified (to fill the screen etc), but when I read the file in to my control each paragraph just appears as a single line.

I have tried using SetParaFormat but it seems to make no difference.

My PARAFORMAT2 is configured as below

<pre>
PARAFORMAT2 pf;

// Modify the paragraph format so that the text is centered.
pf.cbSize = sizeof(PARAFORMAT);
pf.dwMask = PFM_ALIGNMENT;
pf.wAlignment = PFA_JUSTIFY;
BOOL bOK = m_rtfControl.SetParaFormat(pf);

</pre>

Any help on getting over this hurdel would be much appreciated.

Tony
QuestionRe: CRichTextCtrl maintaining paragraph justification Pin
Nuri Ismail19-Nov-09 5:25
Nuri Ismail19-Nov-09 5:25 
AnswerRe: CRichTextCtrl maintaining paragraph justification Pin
maycockt19-Nov-09 21:38
maycockt19-Nov-09 21:38 
GeneralRe: CRichTextCtrl maintaining paragraph justification Pin
Nuri Ismail19-Nov-09 21:53
Nuri Ismail19-Nov-09 21:53 
GeneralRe: CRichTextCtrl maintaining paragraph justification Pin
maycockt19-Nov-09 22:01
maycockt19-Nov-09 22:01 
GeneralRe: CRichTextCtrl maintaining paragraph justification Pin
Nuri Ismail19-Nov-09 22:04
Nuri Ismail19-Nov-09 22:04 
Questioneveryone, help me, please! Pin
nenfa19-Nov-09 3:59
nenfa19-Nov-09 3:59 
AnswerRe: everyone, help me, please! Pin
lxkjlzz19-Nov-09 15:57
lxkjlzz19-Nov-09 15:57 
GeneralRe: everyone, help me, please! Pin
Tim Craig19-Nov-09 18:15
Tim Craig19-Nov-09 18:15 
GeneralRe: everyone, help me, please! Pin
nenfa19-Nov-09 18:19
nenfa19-Nov-09 18:19 
Questiona problem about release and debug Pin
vctrlao19-Nov-09 3:09
vctrlao19-Nov-09 3:09 
AnswerRe: a problem about release and debug Pin
Nelek19-Nov-09 3:35
protectorNelek19-Nov-09 3:35 
AnswerRe: a problem about release and debug Pin
Rajesh R Subramanian19-Nov-09 3:53
professionalRajesh R Subramanian19-Nov-09 3:53 
AnswerRe: a problem about release and debug Pin
loyal ginger19-Nov-09 3:57
loyal ginger19-Nov-09 3:57 
QuestionDirectoryAttributes.. Pin
kumar sanghvi19-Nov-09 2:46
kumar sanghvi19-Nov-09 2:46 
AnswerRe: DirectoryAttributes.. Pin
Michael Schubert19-Nov-09 2:51
Michael Schubert19-Nov-09 2:51 
GeneralRe: DirectoryAttributes.. Pin
kumar sanghvi19-Nov-09 3:08
kumar sanghvi19-Nov-09 3:08 
QuestionRe: DirectoryAttributes.. Pin
David Crow19-Nov-09 3:33
David Crow19-Nov-09 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.