Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Enlarge CXTPDockingPane rect
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Enlarge CXTPDockingPane rect

 Post Reply Post Reply
Author
Message
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Topic: Enlarge CXTPDockingPane rect
    Posted: 26 June 2006 at 9:19am
Hi,
I have a CXTPDockingPane object, and I want to enlarge its height.
I wrote the following code (assuming that the pane is in a float position)
 
CXTPDockingPane* pNC3 = GetDockingPaneManager()->FindPane(4);
CRect rc = pNC3->GetPaneWindowRect();
rc.bottom += 50;
GetDockingPaneManager()->FloatPane(pNC3,rc);
 
The problem is that the pane does not stay in its origional position (its position is about 20 pixels lower), and its width is smaller from both sides.
Back to Top
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2006 at 4:22am
Another problem is that if the pane is floting with another pane attached to it or docked together, when I resize the original pane it detached from the other pane, I would like both panes to resize together, meaning to resize the parent. 
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.047 seconds.