Chris,
I have been doing some tests and I have a couple of questions.
Code:
Gui, Add, MonthCal, gCalendar vmycalendar ,20050101
gui, show
return
Calendar:
msgbox, hello %mycalendar%
exitapp
This works fine when you select a date. To my surprise, if a click the left or right arrow, the Calendar routine is also fired. Specifically, when clicking the right arrow, it selects 20050201. What if I want to select another date, e.g. 20050223?
Could the following be a bug, or do I do something wrong?
Code:
Gui, Add, MonthCal, gCalendar vmycalendar ,20050101
gui, show
return
Calendar:
msgbox, hello %mycalendar%
return
If I select different dates in the displayed month, the date is shown, and the calendar just waits for the next click. However, if you click the e.g. the right arrow, the date is shown in the little message box. When I click the OK button, the calendar starts moving by itself: the right arrow seems to get stuck and the calendar keeps selecting the 1rst of the next month and so on...