Hello,
If I apply a style to the selected text using:
WPRichText1->ActiveStyleName="Style1";
and then remove boldface using:
WrtStyle style;
WPRichText1->CurrAttr->DeleteStyle(style << afsBold);
this will remove bold style from the selection. But if I save the text to rtf and then reload - the bold style reappears.
Seems the style has a priority over the changes to CurrAttr after reload. Is there any way to change this?