Removes a special date.
C
BOOL WINAPI SftDate_DeleteSpecialDate(HWND hwndCtl, int index);
C++
BOOL CSftDate::DeleteSpecialDate(int index); BOOL CSftCalendar::DeleteSpecialDate(int index);
hwndCtl
The window handle of the month calendar control (SftCalendar), or of the date field control (SftDate) whose dropdown calendar is affected.
index
The zero-based index of the special date.
The return value is TRUE if the special date was removed, or FALSE if index is out of range.
The DeleteSpecialDate function removes the special date at a given position. Special dates after it move down by one. ClearSpecialDates removes all special dates. 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