Hi,
I've noticed some odd behaviour when calling the CALENDAR_SetSel() function. It appears to alter the days of the week on the calendar.
For example, I am implementing a function which does not allow the user to select a date before 2015.
The calendar is initialised with today's date (Tuesday 18th August 2015). If a user selects a date before 1st January 2015, an error message is displayed and the selected date is reset to today's date (using CALENDAR_SetSel).
CALENDAR_SetSel does reset the date correctly but the calendar now shows Friday 18th August 2015 - not Tuesday.
Is this a known bug? Is there a way around it?
Here's a snippet of the code used to determine the date and reset it if it is before 2015:
I've noticed some odd behaviour when calling the CALENDAR_SetSel() function. It appears to alter the days of the week on the calendar.
For example, I am implementing a function which does not allow the user to select a date before 2015.
The calendar is initialised with today's date (Tuesday 18th August 2015). If a user selects a date before 1st January 2015, an error message is displayed and the selected date is reset to today's date (using CALENDAR_SetSel).
CALENDAR_SetSel does reset the date correctly but the calendar now shows Friday 18th August 2015 - not Tuesday.
Is this a known bug? Is there a way around it?
Here's a snippet of the code used to determine the date and reset it if it is before 2015: