Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i have placed the CDateTimeCtrl on the Dialog. I want to change the back color of the cdateTime Control as it displaying on the dialog. As i can change only the MothCalc Control Back color and text Color, I can not change the back colour of the CDateTimeCtrl.
How can I ?

Can you help me for the sample code as well ?
Posted
Updated 21-Jan-13 1:53am
v2

1 solution

Overriding the CWnd::OnEraseBkgnd[^] method, may be the way to do it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900