Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How do I get this layout?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I get this layout?

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

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: How do I get this layout?
    Posted: 10 December 2007 at 11:49am
---------------
|   Pane1   |
---------------
P |             |
a |             |
n |   View  |
e |             |
2 |             |
---------------
 
It seems impossible to do this programmatically. Any hints? This does NOT work:
 
m_paneManager.CreatePane(IDR_PANE1, rc1, xtpPaneDockTop);
m_paneManager.CreatePane(IDR_PANE2, rc2, xtpPaneDockLeft);
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2007 at 12:03pm
Sigh... too easy ;)
First create "left", then "top"... Thanks anyway :)
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: 10 December 2007 at 9:56pm
I don't remember the exact method, but it is possible to create the left pane2 2nd and have it docked as you want programmatically.  You just need to dock left of the client area with an extra parameter instead of docking left of the entire window which is default.
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.187 seconds.