Doesn't appear to be working here either when SetOnSel is true (works fine when it's set to false).
EDIT: Maybe this requires something to be changed in the window xml file
* Volv checks now
EDIT #2: Figured it out, you need to change the text mode in the window schema file (within the RichEditControl's definition):
code:
<Attributes>
<TextMode>Rich Text</TextMode>
</Attributes>
This is because the text mode defaults to plaintext.
Also, does anyone know how i would go about simulating a RichEdit_GetCharFormat function (using API or otherwise)?