BCGControlBar Pro for MFC
void CBCGPCalendar::SetPlanner ( CBCGPPlannerManagerCtrl pPlanner,
BOOL  bDropOnDaysOutsideMonths = FALSE 
)

Associates the calendar control with the Planner control.

You can create a relation between Planner control and calendar control. In this case the Planner control will receive "selection changed" notifications from the calendar and show the selected days. The calendar will reflect selections made in the Planner control.

It also enables the drag&drop operations. For example, it's possible to drag an appointment and drop it on a calendar date.

Parameters
pPlannerA pointer to Planner control.
bDropOnDaysOutsideMonthsSpecifies whether appointment can be dropped to the day located in non-displayed month(s).