Print Page | Close Window

How to retrieve current pane size.

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=18833
Printed Date: 20 April 2024 at 5:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to retrieve current pane size.
Posted By: steph
Subject: How to retrieve current pane size.
Date Posted: 16 August 2011 at 2:43pm
What would be the best way to retrieve the pane size.

I need to get the height and width of a DockingPane

thanks in advance.

-------------
steph



Replies:
Posted By: markr
Date Posted: 16 August 2011 at 10:24pm
I haven't tried it myself, but how about something like:

Crect rcPane = CXTPDockingPaneManager::FindPane(ID_PANE)->GetPaneWindowRect();

Of course, you'd use an instance variable instead of "CXTPDockingPaneManager".


Posted By: SuperMario
Date Posted: 17 August 2011 at 8:49am
You can check height and width of window that is attached to this 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