CMonthCalCtrl m_ctlMonthCal;
CMonthCalCtrl::GetCurSel
Function: Retrieves the system time as indicated by the currently-selected date
Sample:
SYSTEMTIME sTime;
m_ctlMonthCal.GetCurSel(&sTime);
SetSystemTime(&sTime);
CMonthCalCtrl::SetFirstDayOfWeek
Function: Sets the day of week to be displayed in the leftmost column of the calendar.
Sample:
m_ctlMonthCal.SetFirstDayOfWeek(0); // 0 stands for Monday