
Changing the Background Color of Individual CEdit controls in a CDialogBar
Derive your Own class from CEdit and handle WM_CTLCOLOR in the EditBox
level.
Cheers
Check Abdoul
-------------------
I have a MFC non document/view application. I created a CDialogBar that
contains
CStatic (labels) and CEdit controls. I and able to set/display text in the
CDialogBar by using CWnd::SetWindowText. I am able to change the background
color of the CEdit controls by adding a message handler for WM_CTLCOLOR in
the
CDialogBar class.
I need to change the background color of one (1) of CEdit controls in the
CDialogBar for a status indication. I cannot change the background color of
just
one of the CEdit controls; it's either all or none.
Is there any way to do this.