Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   DateTimePicker Unresponsive (http://www.go4expert.com/forums/datetimepicker-unresponsive-t14993/)

ten_atm 6Nov2008 10:19

DateTimePicker Unresponsive
 
Hi all,
I am new to MFC and was working around with the DateTimePicker control. In my Window i have a DateTimePicker control, its member variable "m_valdate" with COleDateTime type. In my checkdate() i am just checking the dates with m_valdate.GetDay(),GetMonth() and GetYear(). But even if i select a different date in control, the values returned by the GetDay() and all are the same as previous. Please help me out here.


All times are GMT +5.5. The time now is 21:10.