Posted by Mike Saunders on February 21, 2008 at 08:30:45: Uploaded files: 1
Brian,
Another question on the use of the Calendar Control.
If you look at the attached image, we also using a couple checkboxes.
If a user clicks on a date other than the currently selected date, the MCN.SELCHANGE event fires and the program unchecks the box and sets the date to the selected date. And everything is fine.
If a user clicks on the currently selected date, I have not been able to see any event fire. So the program does not know to uncheck the box.
I have tried to watch for the MCN.SELECT event (even though I do not think that would work either) and have been unable to see the MCN.SELECT event at all.
! Notifications we want to know about
cosCWnd$ = cosDlghDlg$
cosCtlText$ = inteld(IDC.MONTHCALENDAR1) + inteld(MCN.SELCHANGE) + ""
gosub COS.AppendNotifyFilter2
cosCtlText$ = inteld(IDC.MONTHCALENDAR1) + inteld(MCN.SELECT) + ""
gosub COS.AppendNotifyFilter2
Looking at the Microsoft Docs for the calendar control notifications I do not see a notification that would do what I am looking for.
Both the events only fire on a Date Change.
Do you have any ideas?
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.