|
-
July 1st, 1999, 08:30 AM
#1
Color of edit box
How can I change the color of an edit box?
-
July 1st, 1999, 08:33 AM
#2
Re: Color of edit box
Use the WM_CTLCOLOR-message.
-
July 1st, 1999, 09:37 AM
#3
Re: Color of edit box
Your dialog can trap the WM_CTLCOLOR message.
Look up the MFC Help file notes for CWnd::OnCtlColor().
Before a control is about to paint itself, the parent
window receives a chance to set its own default text color and background brush.
Also, check out the Knowledge Base article Q117778,
"Changing the Background Color of an MFC Edit Control."
Cesario Simões, Jr.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|