Hello,

How can we get the color of a selected text in a rich edit control?

Thanks in advance.
Posted on 2006-06-04 10:22:48 by hakand
Send it the EM_GETCHARFORMAT message. The color info will be in the CHARFORMAT structure.

(Get the detals for the parameters from the Win32 Programmer's Reference.)

Raymond
Posted on 2006-06-04 22:28:31 by Raymond