Tech Support > Microsoft Windows > Development Resources > Static Rich Edit Control
Static Rich Edit Control
Posted by Aaron Moore on April 7th, 2008


Hello everyone,
I was referenced here from GameDev.net by a user responding to a
question I asked on those forums. I apologize ahead of time if my question
is one asked and answered often.

I'm looking to display rich edit text in a window and have the text act like
a static control. ES_READONLY still allows the control to recieve mouse
input and highlighting. WS_DISABLED greys out the window.

Is there an easy method of accomplishing this while retaining the ability to
use rich text formatting?

Posted by Christian ASTOR on April 7th, 2008


Aaron Moore wrote:

Just handle WM_ENABLE (subclassing, return FALSE) and it won't be greyed
when disabled.

Posted by Aaron Moore on April 7th, 2008


Thank you for the response and the help. This solved my problem

"Christian ASTOR" <castorix@club-internet.fr> wrote in message
news:47fa7126$0$21148$7a628cd7@news.club-internet.fr...


Similar Posts