BCGControlBar Pro for MFC
BOOL CBCGPPlannerManagerCtrl::AddResourceRTC ( UINT  nResourceID,
CRuntimeClass *  pStorageClass,
CBCGPAppointmentBaseResourceInfo pInfo,
BOOL  bAutoDelete = TRUE,
BOOL  bRedraw = TRUE,
BOOL  bNotify = FALSE 
)

Adds new storage runtime class to the multi resource Planner control.

Call this method to add a new storage (not derived from the library's base storage class) to the multi resource Planner control and set relation between the Resource and the storage.

Parameters
nResourceIDSpecifies the ID of a Resource whose storage is added.
pStorageClassRuntime information of storage class.
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.