SECCalendar::SelectDate

Sets the selection state of the date passed in.

Defined in: Calendar.cpp

Syntax

(32-bit) BOOL SelectDate( COleDateTime date, BOOL bSet );

(32-bit) BOOL SelectDate( CTime date, BOOL bSet );

(16-bit) BOOL SelectDate( CTime date, BOOL bSet );

Return Value

Nonzero if selection mode successfully set, otherwise 0.

Parameters

date

Date to set the selection state for.

date

Date to set the selection state for.

bSet

Selected state.

Comments

If bSet is TRUE, the date will be set to selected, otherwise it will be set to a non-selected state. Note that only one date can be selected at any given time.

See Also

SECCalendar  GetSelectedDate