| 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.
| nResourceID | Specifies the ID of a Resource whose storage is added. |
| pStorageClass | Runtime information of storage class. |
| pInfo | Specifies Resource information. |
| bAutoDelete | If TRUE, the storage is deallocated automatically when removed from the Planner control. |
| bRedraw | If TRUE, the Planner control is redrawn. |
| bNotify | Specifies whether the control owner should be notified about this event. |