BCGControlBar Pro for MFC
CBCGPPlannerViewabstract

Detailed Description

The CBCGPPlannerView class is the base class for all views that can be managed by CBCGPPlannerManagerCtrl. Do not confuse the name "View" with MFC's CView.

There are four types of views: daily (CBCGPPlannerViewDay), work week (5 days, CBCGPPlannerViewWorkWeek), weekly (7 days, CBCGPPlannerViewWeek), monthly (CBCGPPlannerViewMonth).

The Planner Control instantiates all views during initialization and it's possible to switch between views at runtime using the CBCGPPlannerManagerCtrl::SetType method. You can determine the type of current view using CBCGPPlannerManagerCtrl::GetType.

Usually, you do not need the direct access to views. If you do you have to derive a class from CBCGPPlannerManagerCtrl and use protected CBCGPPlannerManagerCtrl::GetCurrentView.

See also
CBCGPPlannerManagerCtrl, CBCGPPlannerManagerView
+ Inheritance diagram for CBCGPPlannerView:

Public Types

enum  BCGP_PLANNER_HITTEST
 
enum  BCGP_PLANNER_WEEKBAR
 

Static Public Member Functions

 IsOneDayCompares two dates.
 

Protected Member Functions

 DrawAppointmentDraws an appointment.