![]()  | 
 
Making CMDIChildWnd Dockable | 
 
    Post Reply  
   | 
  
| Author | |
   
   vintrip  
   
   Newbie  
   Joined: 20 November 2007 Status: Offline Points: 4  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Making CMDIChildWnd DockablePosted: 20 November 2007 at 5:43pm  | 
 
| 
   
    
   Dear readers,
 
   
    I want to make the CChildFrame windows of an MDI application dockable. 
  I did all the required stuff and during OnCreate of the CChildFrame I try to Create the pane which eventually attaches in OnDockingNotify.  
 My problem is at this time, the MFC crashes  
CMDIFrameWnd* CMDIChildWnd::GetMDIFrame() {   . 
  . 
  ASSERT(pMDIFrame->m_hWndMDIClient == hWndMDIClient); 
} 
Has spmeone converted MDIChildWindows into docking pane successfully?  
Thanks, 
    | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 November 2007 at 9:05am | 
 
| 
   
    
   See Samples\ToolkitPro\MDITabWindow  sample.
    
   
   | 
 |
| 
   
     
     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  |