Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - MDITabWindow Sample and SplitterWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDITabWindow Sample and SplitterWnd

 Post Reply Post Reply
Author
Message
ingo View Drop Down
Newbie
Newbie


Joined: 10 March 2006
Location: Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ingo Quote  Post ReplyReply Direct Link To This Post Topic: MDITabWindow Sample and SplitterWnd
    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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.