I have a question to ask,about the docking pane |
Post Reply |
Author | |
deepstar
Newbie Joined: 28 March 2008 Location: China Status: Offline Points: 7 |
Post Options
Thanks(0)
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
You can create class derived from CXTPDockingPanePaintManager, override its RefreshMetrics and set m_nTitleHeight.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |