Re: Rich Edit Questions
- Posted by LarryMiller Jun 26, 2009
- 1006 views
lockiedownunder said...
Thanks Derek, I didn't even try setText :( it works fine, I just assumed you had to stream text
Add and Remove style doesn't work so I will use your idea of using 2 RE overlayed. A bit messy bit it will do
Thanks again
There is a better way. The EM_SETREADONLY message wil do what you want. The first paramater of the message will set readonly if TRUE. The message is documented under the Edit control but it also works for RichEdit controls.
Larry Miller