BCGSuite for MFC
BOOL CBCGPPlannerManagerCtrl::AddResource ( UINT  nResourceID,
CBCGPAppointmentBaseStorage pStorage,
CBCGPAppointmentBaseResourceInfo pInfo,
BOOL  bAutoDelete = TRUE,
BOOL  bRedraw = TRUE,
BOOL  bNotify = FALSE 

Adds new storage to the multi resource Planner control.

Call this method to add a new storage to the multi resource Planner control and set relation between the Resource and the storage.

nResourceIDSpecifies the ID of a Resource whose storage is added.
pStorageA pointer to a storage.
pInfoSpecifies Resource information.
bAutoDeleteIf TRUE, the storage is deallocated automatically when removed from the Planner control.
bRedrawIf TRUE, the Planner control is redrawn.
bNotifySpecifies whether the control owner should be notified about this event.