
Setting the Background Color of a CEdit Box marked as Read-Only
Quote:
> I am using Microsoft Visual C++ 4.0 and Developing a dialog box which
> needs be to marked as read-only, but the background color must also be
> set to a white color. I have had no such luck in accomplishing this
> problem and was wondering if someone may know how to solve this
> problem. I have tried the on draw feature but Microsoft Visual C++ will
> not over ride this feature. Is there something that I am doing wrong
> while trying to set this edit controls background color or what should I
> do to set the background color. Please give an example if possible to
> solve the problem.
> Thanks -- Damian Shepard
> __________________________________________________________________
> Damian A. Shepard
> General Dynamics Defense Systems
> Room 1373A
> 100 Plastics Ave.
> Pittsfield, MA 01201-3698
There is an example at the URL below that exactly addresses your
concern.
Cecil
--
Cecil Galbraith
Free programmer's utilities and MFC tips at
http://www.*-*-*.com/ ~cgalbrai