RichEdit control with formatting text.
Hi,
I have gone through streamin , streamout functions of richedit but the problem is,
we are not able to set particular font for the particular part of string .
there are only following formats
SF_TEXT & SF_RTF formats.
How can i set font of part of string and display it on richedit?
Means i want to set font in our string firtst and then display it.
Thanks,
# 1 Re: RichEdit control with formatting text.
In my opinion it would be easier first to transfer the text to Rich edit control (which can be invisible for the moment), then select the part of the string using SetSel function, and then change the font of this part using GetSelectionCharFormat function. (Or with equivalent Windows messages if no MFC is used).
I hope this makes sense.
Viorel at 2007-11-11 20:58:55 >
