Print Page | Close Window

How to dock right of client area?

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=1864
Printed Date: 12 December 2024 at 12:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to dock right of client area?
Posted By: Ark42
Subject: How to dock right of client area?
Date Posted: 26 February 2005 at 4:53pm

Say you have 1 pane, docked at the bottom, and you want to create and dock a 2nd pane to the right of the client area, not to the right of the entire mainframe, how can you do that?
If I create the pane to be docked to the right first, then create the other pane docked at the bottom, with NULL neighbors, the situation looks correct, but in order to generlize what I need to do, I can't just create the panes in the opposite order.





Replies:
Posted By: Ark42
Date Posted: 26 February 2005 at 5:16pm

I think I found it actually, I just need to dock to the right of CXTPDockingPaneManager::GetClientPane()

I kept trying GetTopPane() for some reason, I didn't see GetClientPane() for the longest time.  GetTopPane() is actually what is used when the neighbor is NULL, I found after looking through the source.




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