I am wondering about control background color changing. Through effect I find those methods mentioned in this article can change only color of text and dialog background.If we want to change the color of control,we must override the control class indivisually and rewrite their functions like DrawItem ,etc.
Welcome comments about this opinion.
// m_brDlgColor is CBrush object and should have created
// in OnInitDialog
DT_CENTER | DT_VCENTER);
I need information on creating an atm application.
The user should be able to enter deposit and withdrawal.
In the end closing balance would be shown
i have attempted it but it displays anassertion error. then everything in the dialog becomes blank. Please help!!
I have an app I would like to have the option of colors on each of 7 or 8 different forms that are CRecordViews. I can get the first form color changed but not the rest of them. I am using the OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) method. Any ideas on how to make all the forms have the background color changed?
I know this isn't much deatil but if someone thinks they have a way I can provide the details for them.