Вопрос: Как в CRichEditCtrl изменяется цвет и формат определенной части текста?
Есть такие функции...
SetDefaultCharFormat — Sets the current default character formatting attributes in this CRichEditCtrl object.
SetParaFormat — Sets the paragraph formatting attributes in the current selection in this CRichEditCtrl object.
SetSelectionCharFormat — Sets the character formatting attributes in the current selection in this CRichEditCtrl object.
SetWordCharFormat ...
Но как ими пользоваться, когда в диалоговом окне в объекте CRichEditCtrl уже есть информация, и ее нужно "раскрасить" в
зависимости от содержания, что-то выделить и.т.п ?
...Что-нибудь вроде SetLineCharFormat(UINT uiLine, CHARFORMAT& cf );