Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - I have a question to ask,about the docking pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I have a question to ask,about the docking pane

 Post Reply Post Reply
Author
Message
deepstar View Drop Down
Newbie
Newbie
Avatar

Joined: 28 March 2008
Location: China
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote deepstar Quote  Post ReplyReply Direct Link To This Post Topic: I have a question to ask,about the docking pane
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.