How to remove all resources ? |
Post Reply |
Author | |
nebulon
Newbie Joined: 05 December 2007 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 16 December 2007 at 9:06am |
After adding some resources via CXTPCalendarResourcesManager, I tried to remove them all. But there is always one last ressource that stay without been able to deleted it. I tried your CalendarDemo sample and this problem is also present in your demo sample.
I tried: while(pSchedules->GetCount()>0) { pSchedules->RemoveSchedule(pSchedules->GetAt(0)->GetID()); } or while(m_pCalRCman->GetResourcesCount()>0) { m_pCalRCman->RemoveResource(0); } or m_pCalRCman->RemoveAll(); then m_CalendarCtrl.Populate(); m_CalendarCtrl.RedrawControl(); without possibility to delete the last ressource. Any idea ? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |