BCGControlBar Pro for MFC
void CBCGPPlannerManagerCtrl::SetType ( BCGP_PLANNER_TYPE  type,
BOOL  bRedraw = TRUE 
)

Sets the current view type

Use this method to set the current view type.

Type can be one of the following values:

  • BCGP_PLANNER_TYPE_DAY - daily view
  • BCGP_PLANNER_TYPE_WORK_WEEK - view of work week
  • BCGP_PLANNER_TYPE_WEEK - weekly view
  • BCGP_PLANNER_TYPE_MONTH - monthly view
  • BCGP_PLANNER_TYPE_MULTI - multi resource view
Parameters
typeThe new view type.
bRedrawTRUE - redraw control after changing type.