How can I set the text of a RichEdit control using APIs?