SECCalendar::SetMonthFrozen
BOOLSECCalendar::SetMonthFrozen(BOOLbMakeFrozen)
Freezes the month currently being displayed by the calendar control.
Defined in: Calendar.cpp
Return Value
Nonzero if calendar was previously in frozen month mode, otherwise 0.
Parameters
bMakeFrozen
State of the frozen month option.
Comments
The calendar can be set in frozen month mode where the user is not allowed to navigate to other months. Passing bMakeFrozen as nonzero sets the calendar in frozen month state, while setting bMakeFrozen to 0 unfreezes the calendar. The month currently displayed by the calendar control is frozen if the bMakeFrozen parameter is nonzero, and unfrozen if it is 0. If the month is frozen, the month cannot be changed without first unfreezing it. If the displayed month is frozen, the user is not allowed to navigate to other months and programmatic attempts to change the month (i.e., SetPage) will fail.
See Also