Click to See Complete Forum and Search --> : changing color and font in read-only edit


kedemo
July 20th, 1999, 03:41 AM
How can I change the font size and text color and background color in a Read Only
Edit Box

Fabi Pantera
July 20th, 1999, 04:13 AM
For changing the color in a edit control override the WM_CTLCOLOR for your edit (so you need a derived class from the CEdit).
To change its font use CWnd::SetFont function.
Let me know if this helps you.
Best regards,
Faby