Print Page | Close Window

Enlarge CXTPDockingPane rect

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=4488
Printed Date: 10 November 2025 at 5:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Enlarge CXTPDockingPane rect
Posted By: yoavo
Subject: Enlarge CXTPDockingPane rect
Date Posted: 26 June 2006 at 9:19am
Hi,
I have a CXTPDockingPane object, and I want to enlarge its height.
I wrote the following code (assuming that the pane is in a float position)
 
CXTPDockingPane* pNC3 = GetDockingPaneManager()->FindPane(4);
CRect rc = pNC3->GetPaneWindowRect();
rc.bottom += 50;
GetDockingPaneManager()->FloatPane(pNC3,rc);
 
The problem is that the pane does not stay in its origional position (its position is about 20 pixels lower), and its width is smaller from both sides.



Replies:
Posted By: yoavo
Date Posted: 27 June 2006 at 4:22am
Another problem is that if the pane is floting with another pane attached to it or docked together, when I resize the original pane it detached from the other pane, I would like both panes to resize together, meaning to resize the parent. 



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