Scrolls a month calendar control by a number of periods.
C
void WINAPI SftDate_Scroll(HWND hwndCtl, int periods);
C++
void CSftCalendar::Scroll(int periods);
hwndCtl
The window handle of the month calendar control (SftCalendar).
periods
The number of periods to scroll: positive values scroll forward, negative values back.
The Scroll function scrolls the calendar by a number of periods of the current view (GetView): months in the month view, years in the year view, decades in the decade view and centuries in the century view. Scrolling stops at the range defined using SetMinDate and SetMaxDate.
The selection and the focused date are not changed. This function applies to the month calendar control only. For a date field control, Scroll has no effect.
See Also C/C++ API | Categories | Notifications