Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Half size docking
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Half size docking

 Post Reply Post Reply
Author
Message
douglashogan View Drop Down
Groupie
Groupie


Joined: 02 July 2003
Location: Switzerland
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote douglashogan Quote  Post ReplyReply Direct Link To This Post Topic: Half size docking
    Posted: 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
Back to Top
hipopotamo View Drop Down
Groupie
Groupie


Joined: 01 June 2006
Location: Portugal
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote hipopotamo Quote  Post ReplyReply Direct Link To This Post 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 );
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.078 seconds.