المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Changing the text colour (foreColor) of a DateTimePicker?



C# Programming
07-31-2009, 08:50 PM
Hi All,

I've been able to change the colour of a dateTimePicker inherited field by overriding the backColor method and looking for the WM_ERASEBKGND message in wncProc.
I also want to change the font colour of the dateTimePicker. I thought I could do this by overriding the foreColor method similar to how I did for the backColor. I can't find the message/hex bumber to look for within wncProc.

Is there any such message for ForeColor? Any help/ideas on this would be great.

Thanks,
Mel