How to prevent selection of text in a RichTextCtrl?

I recently discovered the RichTextCtrl and wow, I wish I'd found it
sooner. So amazingly powerful.

The one thing I haven't been able to figure out is how to make text
unselectable. I've gotten the "read only" part working with
RE_READONLY style, but the user can still select text.

Thanks for any help.

The person who knows most about RichTextCtrl is on the wx-users list, but not this one. Please ask about it there.

···

On 3/15/10 3:02 AM, wrybread wrote:

I recently discovered the RichTextCtrl and wow, I wish I'd found it
sooner. So amazingly powerful.

The one thing I haven't been able to figure out is how to make text
unselectable. I've gotten the "read only" part working with
RE_READONLY style, but the user can still select text.

--
Robin Dunn
Software Craftsman