BCGControlBar Pro for MFC
virtual BOOL CBCGPAppointmentBaseMultiStorage::AddStorage ( UINT  nResourceID,
CBCGPAppointmentBaseStorage pStorage,
CBCGPAppointmentBaseResourceInfo pInfo = NULL,
BOOL  bAutoDelete = TRUE 
)
pure virtual

Adds a storage for a Resource.

Call this method before you add any appointments for a Resource.

Parameters
nResourceIDSpecifies an ID of a Resource for which a storage should be added.
pStorageA pointer to appointment storage to be added.
pInfoA pointer to an object that returns information about a Resource.
bAutoDeleteIf TRUE, the storage memory is deallocated by the multi-storage.