Print Page | Close Window

MDITabWindow Sample and SplitterWnd

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=19489
Printed Date: 18 June 2025 at 9:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MDITabWindow Sample and SplitterWnd
Posted By: ingo
Subject: MDITabWindow Sample and SplitterWnd
Date Posted: 15 February 2012 at 5:15am
Hi,

I'd like to have the same "drag out" functionality for MDI windows as in Visual Studio 2010.
I looked at the MDITabWindow sample to create floating/dockable MDI windows.

However, this does not work if the MDI frame has a SplitterWnd.
Method "DockFrame" destroys the old frame and creates a new one (of type CDockingFrameWnd).
All additional information in the old frame get's deleted, including the SplitterWnd member variable (which destroys it's child windows in the destructor).

I tried to connect the old view to the docking pane instead of creating a new one - without success.

Additionaly, MDITabWindow sample does not provide exactly the same "drag out" functionality as Visual Studio 2010. The dragged-out MDI windows do not have to be dockable in my case. Is it easier to solve the problem without docking panes?

Can someone help me?

Ingo.




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