1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DateTimePicker Unresponsive

Discussion in 'MFC' started by ten_atm, Nov 6, 2008.

  1. ten_atm

    ten_atm New Member

    Nov 6, 2008
    Likes Received:
    Trophy Points:
    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.

Share This Page