I'm trying to use the month calender box in a dialog box. When I use MCN_SELECT and try to retrieve data with GetDay(),GetMonth() and GetYear() the day is of by 14 days and the month is of by 2. The year seems to be ok. My code looks like this.
void CGuiDlg::OnSelectMonthcalendarStart(NMHDR* pNMHDR, LRESULT* pResult)
// TODO: Add your control notification handler code here
Bla , bla ,bla ..........
*pResult = 0;
Iím stumped any help would be great