|  | 
| How to free the Docking Pane ?? | 
| Post Reply   | 
| Author | |
| amitb   Groupie     Joined: 13 September 2006 Status: Offline Points: 50 |  Post Options  Thanks(0)  Quote  Reply  Topic: How to free the Docking Pane ?? Posted: 10 October 2007 at 7:12am | 
| 
   class CDocPaneMgr : public CXTPDockingPaneManager  { CXTPDockingPane* m_pDocPane; } // Constructor CDocPaneMgr ::Create(...) { m_pDocPane = CreatePane(...); } Now since m_pDocPane is a pointer to the newly created Pane, how do i destroy the pane when the job is done?? Means, what should i do in the destructor so that the pane created by CreatePane is destroyed/freed. // Destructor CDocPaneMgr::~CDocPaneMgr() { /// How to free the m_pDocPane ??? } | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 10 October 2007 at 2:00pm | 
| Hello,Panes are destroyed automatically. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| 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 |