Print Page | Close Window

How to fix CXTPDockingPane height?

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=2271
Printed Date: 15 May 2025 at 11:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to fix CXTPDockingPane height?
Posted By: nicros
Subject: How to fix CXTPDockingPane height?
Date Posted: 23 May 2005 at 6:34pm
Hi,

I have a CXTPDockingPane that I create like this:

CXTPDockingPane* wndPane = m_paneManager.CreatePane(winId, area, direction, neighbour);

Where area is a CRect(0, 0, 500, 200).  I want my height to be 200, regardless of whether the window is resized or not.

Currently however, resizing my window also resizes the height of my pane.  Is there a way to truly fix this?

Thanks




Replies:
Posted By: Oleg
Date Posted: 11 June 2005 at 3:47pm

try

pPane->SetMinTrackSize(CSize(0, 200);

pPane->SetMaxTrackSize(CSize(32000, 200);

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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