Hello,
I have created a Month Calendar Control and have enabled MCS_MULTISELECT.
I am trying to implement the MonthCal_GetSelRange() macro to capture a selected range in the Calendar Control. So far my switch looks like this:
How do I get that range to display in a MessageBox?Code:case IDC_BTN_MOON: { SYSTEMTIME rng[2]; MonthCal_GetSelRange(hWndMonthCal, &rng); }
I have tried passing SYSTEMTIME WORDs ( rng.wDayOfWeek) but I simply cant get it right. I know it is likely that such usage is no good, but I am trying...Code:MessageBox(hwndDlg, ??, 0);
I have been using the Method approach to creating the Month Calendar and other controls.




Reply With Quote