void CBCGPPlannerManagerCtrl::SetDateInterval | ( | const COleDateTime & | date1, |
const COleDateTime & | date2, | ||
BOOL | bRedraw = TRUE |
||
) |
Tells the Planner control to display the required period.
Use this function to force the Planner control to show the specified period. The type of view is can be changed according the length of the period. For example, the Planner displays the monthly view. If the date interval specifies two days, the current view type will be switched to the daily view.
date2 must be greater or equivalent to date1. Otherwise the method asserts in debug mode.
date1 | Start date to display. |
date2 | End date to display. |
bRedraw | If TRUE, the control will be redrawn. |