![]() |
Half size docking |
Post Reply
|
| Author | |
douglashogan
Groupie
Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Topic: Half size dockingPosted: 20 June 2006 at 8:56am |
|
Hi, I have 2 docking panes, i would like them to share the same side of the main window, but with one pane taking the top half and the other taking the bottom half. Is this possible programatically without having to use the mouse....
|
|
|
Regards
Douglas Hogan |
|
![]() |
|
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 2:07pm |
|
Hi
Use the last argument of the CreatePane function.
toppane = CXTPDockingPaneManager::CreatePane( id1, CRect( 0, 0, wpane, hpane ), xtpPaneDockLef );
bottompane = CXTPDockingPaneManager::CreatePane( id2, CRect( 0, 0, wpane, hpane ), xtpPaneDockLef, toppane ); |
|
![]() |
|
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 |