SECCalendar::SetPage

Sets the date for the calendar as specified by the calendarPage parameter.

Defined in: Calendar.cpp

Syntax

(32-bit) BOOL SetPage( const COleDateTime &newPage, BOOL bRedraw );

(32-bit) BOOL SetPage( const CTime &newPage, BOOL bRedraw );

(16-bit) BOOL SetPage( const CTime &newPage, BOOL bRedraw );

Return Value

Nonzero if SetPage was successful, otherwise 0.

Parameters

&newPage

Date to set calendar to.

&newPage

Date to set calendar to.

bRedraw

Flag to automatically redraw calendar.

Comments

The current month will be displayed, and the date corresponding to the calendarPage will be highlighted. If the calendar is frozen, the SetPage member function has no effect, and the function returns 0.

See Also

SECCalendar  GetSelectedDate  GetMonthFrozen