The SFTDATE_NMDATE structure is sent with the NM_SFTDATE_DATEACTIVATED notification when the user chooses a date in a month calendar control.
typedef struct tagSftDateNMDate {
NMHDR hdr;
SYSTEMTIME date;
} SFTDATE_NMDATE, * LPSFTDATE_NMDATE;The standard WM_NOTIFY notification header. hwndFrom contains the window handle of the month calendar control, idFrom its control ID and code is set to NM_SFTDATE_DATEACTIVATED.
The date chosen (00:00:00).
The month calendar control sends the WM_NOTIFY message with the SFTDATE_NMDATE structure when the user chooses a date: a click on a day, Enter on the focused day, or the end of a range selected with the mouse (the last date of the range). The selection itself is reported using NM_SFTDATE_VALUECHANGED and NM_SFTDATE_RANGECHANGED; NM_SFTDATE_DATEACTIVATED reports the user's choice, for example to open the day's appointments.
See Also C/C++ API | Categories | Notifications