BCGControlBar Pro for MFC
void CBCGPPlannerManagerCtrl::SetWorkingHourInterval ( int  nFirstHour,
int  nLastHour,
BOOL  bRedraw = TRUE 
)

Sets the first and the last working hours.

Use SetWorkingHourInterval to set the working interval. This method can be used only for BCGP_PLANNER_TYPE_DAY and BCGP_PLANNER_TYPE_WORK_WEEK views.

nLastHour must be greater than nFirstHour.

Parameters
nFirstHourSpecifies the first working hour. Must be in inclusive interval 0 - 23.
nLastHourSpecifies the last working hour. Must be in inclusive interval 0 - 23.
bRedrawIf TRUE, the control will be redrawn.