CBCGPAppointment::CBCGPAppointment | ( | const COleDateTime & | dtStart, |
const COleDateTime & | dtFinish, | ||
const CString & | strText, | ||
COLORREF | clrBackground = CLR_DEFAULT , |
||
COLORREF | clrForeground = CLR_DEFAULT , |
||
COLORREF | clrDuration = CLR_DEFAULT |
||
) |
Constructs an appointment object.
dtStart and dtFinish must be a valid COleDateTime objects. dtStart must be not greater than dtFinish.
dtStart | A reference to a COleDateTime object that specifies the start time |
dtFinish | A reference to a COleDateTime object that specifies the end time. |
strText | - A reference to a CString object that specifies the appointment text label. |
clrBackground | A COLORREF value that specifies the background color. Specify the CLR_DEFAULT value to use the default background color. |
clrForeground | A COLORREF value that specifies the foreground color. Specify the CLR_DEFAULT value to use the default foreground color. |
clrDuration | A COLORREF value that specifies the duration (time line) color. Specify the CLR_DEFAULT value to use the default duration (time line) color. |