Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Initial Pane Layout
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Initial Pane Layout

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

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Topic: Initial Pane Layout
    Posted: 17 February 2009 at 6:54pm
Using the dynamic docking pane sample to illustrate, I'd like my app to appear like this.
 
 
That is, I want "Edit 5" at the bottom of the frame and to the right of "List 6." 
 
However, my code attempts either give me this:
 
 
(which I got via pPaneMgr->DockPane(pEdit5, xtpPaneDockBottom, NULL);), or this:
 
 
which I got via (pPaneMgr->DockPane(pEdit5, xtpPaneDockRight, pList6);). 
 
What is the right way to tell a pane to dock using two points of reference at once? 
 
 
--Mike
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2009 at 1:13am
Change order of panes you create
 
first create Pane5 at bottom, then Pane 4 at Left and then Pane 6 at bottom of Pane 4.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.031 seconds.