BCGSuite for MFC
BOOL CBCGPPlannerManagerCtrl::RemoveAppointment ( CBCGPAppointment pApp,
BOOL  bQuery = TRUE,
BOOL  bRedraw = TRUE 
)

Removes an appointment from the storage.

Returns
TRUE if an appointment was successfully removed from the storage; otherwise FALSE.

Call this function to remove pApp from the storage.

See AddAppointment() for how to set bQuery and bRedraw parameters.

Parameters
pAppPoints to the appointment object to be removed.
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.