Can you change the background color of an edit box? How would it be done?
Printable View
Can you change the background color of an edit box? How would it be done?
Hi,
Both the background n text color can be changed ! some code is there in the code section of this site. U can use that else let me know n I can mail U those files.
Yash.
Try using WM_CTL_COLOR method which you have to write for the dialog.Suppose the name of the Edit control is IDC_EDIT1 In that function give the following code:
(pWnd->GetDlgCtrlID()==IDC_EDIT1 ) then Create Brush and do manipulation