Returns the number of special dates.
C
int WINAPI SftDate_GetSpecialDateCount(HWND hwndCtl);
C++
int CSftDate::GetSpecialDateCount() const; int CSftCalendar::GetSpecialDateCount() const;
hwndCtl
The window handle of the month calendar control (SftCalendar), or of the date field control (SftDate) whose dropdown calendar is affected.
The return value is the number of special dates of the control.
The GetSpecialDateCount function returns the number of special dates added using AddSpecialDate and InsertSpecialDate. Valid indexes are 0 through the number of special dates minus 1. Special dates apply to a month calendar control and to the dropdown calendar of a date field control.
See Also C/C++ API | Categories | Notifications