Print Page | Close Window

Making CMDIChildWnd Dockable

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=8844
Printed Date: 28 March 2024 at 2:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Making CMDIChildWnd Dockable
Posted By: vintrip
Subject: Making CMDIChildWnd Dockable
Date Posted: 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,



Replies:
Posted By: Oleg
Date Posted: 21 November 2007 at 9:05am
See Samples\ToolkitPro\MDITabWindow  sample.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net