How to dock right of client area? |
Post Reply |
Author | |
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Posted: 26 February 2005 at 4:53pm |
Say you have 1 pane, docked at the bottom, and you want to create and dock a 2nd pane to the right of the client area, not to the right of the entire mainframe, how can you do that? If I create the pane to be docked to the right first, then create the other pane docked at the bottom, with NULL neighbors, the situation looks correct, but in order to generlize what I need to do, I can't just create the panes in the opposite order. |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
I think I found it actually, I just need to dock to the right of CXTPDockingPaneManager::GetClientPane() I kept trying GetTopPane() for some reason, I didn't see GetClientPane() for the longest time. GetTopPane() is actually what is used when the neighbor is NULL, I found after looking through the source. |
|
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 |