BCGControlBar Pro for MFC
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.

Parameters
date1Start date to display.
date2End date to display.
bRedrawIf TRUE, the control will be redrawn.