| 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.
| nResourceID | Specifies the ID of a Resource whose storage is added. |
| pStorage | A pointer to a storage. |
| 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. |