BCGSuite for MFC
void CBCGPPlannerManagerCtrl::SetStorageRTC ( CRuntimeClass *  pStorageClass = NULL,
BOOL  bDelete = TRUE 
)

Provides the Planner Control with runtime class information of a custom storage class.

Call this function if you need to persist appointments in a custom storage (like database). You need to derive your custom storage class from the CBCGPAppointmentBaseStorage class and provides the Planner Control with runtime class information of the custom class.

If pStorageClass is NULL, the library resets the storage to be CBCGPAppointmentStorage.

Parameters
pStorageClassA pointer to runtime class information object of a custom storage class. Can be NULL.
bDeleteSet TRUE to delete a current content.