BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Fully implemented BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Single Appoinment

The planner control allows to add appointment that happens one time only.
Sample code:
// Create a new appointment: today, 2:00PM – 4:00PM, name “Meeting”:
COleDateTime now = COleDateTime::GetCurrentTime ();

CBCGPAppointment* pApp = new CBCGPAppointment (
     COleDateTime (now.GetYear (), now.GetMonth (), now.GetDay (), 14, 0, 0),
     COleDateTime (now.GetYear (), now.GetMonth (), now.GetDay (), 16, 0, 0),
     _T("Meeting"));

// Add this appointment to planner:
m_wndPlanner.AddAppointment (pApp);
Prev  Next