Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to snap two panes into one tabbed container?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to snap two panes into one tabbed container?

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


Joined: 03 October 2014
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fordfanboi Quote  Post ReplyReply Direct Link To This Post Topic: How to snap two panes into one tabbed container?
    Posted: 03 October 2014 at 10:40am
We have an existing editor project that uses TKP.  When running the editor, I am able to drag and drop one CXTPDockingPane that was created with CreateDockingPane onto another and it automatically creates a tabbed container.  How can I do this through code so it starts this way on first time installs?  

Thanks!
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 865
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2015 at 8:37am
Have you tried CXTPDockingPaneManager::AttachPane( PaneToAdd, Pane )

The first pane is the one you want to dock with the second pane.
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.125 seconds.