Print Page | Close Window

How to snap two panes into one tabbed container?

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=22427
Printed Date: 28 April 2024 at 8:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to snap two panes into one tabbed container?
Posted By: Fordfanboi
Subject: How to snap two panes into one tabbed container?
Date 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!



Replies:
Posted By: rdhd
Date 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.



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