![]() |
Enlarge CXTPDockingPane rect |
Post Reply
|
| Author | |
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Topic: Enlarge CXTPDockingPane rectPosted: 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.
|
|
![]() |
|
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
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 |