Hello,
How can we get the color of a selected text in a rich edit control?
Thanks in advance.
How can we get the color of a selected text in a rich edit control?
Thanks in advance.
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
(Get the detals for the parameters from the Win32 Programmer's Reference.)
Raymond