BCGControlBar Pro for MFC
BOOL CBCGPPlannerManagerCtrl::UpdateAppointment ( CBCGPAppointment pApp,
const COleDateTime &  dtOld,
BOOL  bQuery = TRUE,
BOOL  bRedraw = TRUE 
)

Updates an appointment in the storage.

Returns
TRUE, if the appointment was updated successfully; otherwise FALSE.

Use this method to update an appointment in the storage. The storage is responsible for finding the existing appointment.

UpdateAppointment does not force addition of the new appointment if the appointment to be updated is not found. See AddAppointment() for how to set bQuery and bRedraw.

Parameters
pAppPointer to the appointment containing the data that should update an existing appointment.
dtOldOld date/time value.
bQueryIf TRUE, the Planner Control will update its state (its internal list of appointments) from the storage; otherwise the internal list of appointments remains unchanged.
bRedrawIf TRUE, the Planner Control will immediately adjust appointments and redraw itself, should be FALSE if bQuery is FALSE.