Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to dock right of client area?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to dock right of client area?

 Post Reply Post Reply
Author
Message
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: How to dock right of client area?
    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.


Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2005 at 5:16pm

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.

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