BOOL CBCGPCalendar::SelectDate | ( | const COleDateTime & | date, |
BOOL | bAdd = FALSE , |
||
BOOL | bNotify = TRUE , |
||
BOOL | bRedraw = TRUE |
||
) |
Selects the specified date.
This function selects the specified date. If bAdd is TRUE, the previous selection is not cleared (this allows multiple selection). If bNotify is TRUE, the calendar calls OnSelectionChanged() (which in turn sends out a notification message BCGM_CALENDAR_ON_SELCHANGED).
date | Specifies the date to select. |
bAdd | If TRUE, the old selection is not removed. |
bNotify | If TRUE, the calendar sends "selection changed" notification. |
bRedraw | If TRUE, the calendar will be redrawn to reflect the new selection state. |