Print Page | Close Window

I have a question to ask,about the docking pane

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


Topic: I have a question to ask,about the docking pane
Posted By: deepstar
Subject: I have a question to ask,about the docking pane
Date Posted: 02 April 2009 at 9:01am
Hi , I have a question to ask, it is about the docking pane.
The width of the pane's label(or, call it the caption) seems to be calculated in code according to the font style and the size. However I'd like to set the label's width myself, but I can't find the proper method that provides the function to set the label's width. Can you help me, or tell me whether XTP provides such a similar method that can achieve the goal.



Replies:
Posted By: Oleg
Date Posted: 03 April 2009 at 1:04am
Hello,
 
You can create class derived from CXTPDockingPanePaintManager, override its RefreshMetrics and set m_nTitleHeight.


-------------
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