BCGControlBar Pro for MFC
virtual void CBCGPAppointment::OnPrint ( CDC *  pDC,
COLORREF  clrPen = RGB(0, 0, 0),
COLORREF  clrText = RGB(0, 0, 0),
const CSize &  szOnePoint = CSize(1, 1),
int  nTimeDeltaInMinuts = 0 
)
protectedvirtual

Called by the framework when it needs to print the appointment.

This method called from CBCGPPlannerPrint object to draw the appointment on the printer DC.

Parameters
pDCPoints to the device context to be used for rendering an image of the appointment
clrPenA COLORREF value that specifies the border and line colors.
clrTextA COLORREF value that specifies the text color.
szOnePointA reference to a CSize object that specifies size of one point in device units.
nTimeDeltaInMinutsAn integer value that specifies the time delta in minutes (only for printers using the time bar). It should be specified only for BCGP_PLANNER_TYPE_DAY or BCGP_PLANNER_TYPE_WORK_WEEK appointment types. For other types this parameter must be 0.