Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to fix CXTPDockingPane height?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to fix CXTPDockingPane height?

 Post Reply Post Reply
Author
Message Reverse Sort Order
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 Topic: How to fix CXTPDockingPane height?
    Posted: 11 June 2005 at 3:47pm

try

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

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

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nicros View Drop Down
Newbie
Newbie


Joined: 12 May 2005
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote nicros Quote  Post ReplyReply Direct Link To This Post 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

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.094 seconds.