Changing scripts in a RichTextBox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce Wolfe

    #1

    Changing scripts in a RichTextBox

    I have a RichTextBox populated with characters that include a
    character of a script other than the default. When I try to paste a
    Unicode character into the RichTextBox downstream of that character I
    get a box. Obviously, the character I paste in isn't supported by the
    script. I can look at the RTF of the RichTextBox and I can see the
    script it's calling for. I know I can modify the RTF to remove the
    call for the script but I would like to avoid tweeking the RTF. Here
    is the question: What is the recommended method (or anything that
    works!) of changing everything back to script 0 before I paste the
    character in?
    I have tried assigning the InsertionFont but that doesn't work. Can I
    send the control a RichEdit message? Thanks in advance.
Working...