Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Docking in the middle.
Docking in the middle. [message #47135] Sat, 17 December 2016 17:36 Go to next message
rxantos is currently offline  rxantos
Messages: 71
Registered: October 2011
Member
If I drag a dock I can cover the left,top,right,bottom. But I want to be able to cover the center.

How do I do this?

index.php?t=getfile&id=5095&private=0
Re: Docking in the middle. [message #47137 is a reply to message #47135] Mon, 19 December 2016 15:24 Go to previous messageGo to next message
deep is currently offline  deep
Messages: 227
Registered: July 2011
Location: Bangalore
Experienced Member
Hi

You can use
Float(Dockable(treectrl2, "TreeCtrl 2").SizeHint(Size(300, 200)),Point(300,210));

In docking example. in place of
	DockRight(Dockable(treectrl2, "TreeCtrl 2").SizeHint(Size(300, 200)));

Float will make dock float and place it in center of your window.
Float(DockableCtrl& dc, Point p = Null);

Point p will position dock at top-left corner.


Warm Regards

Deepak
Re: Docking in the middle. [message #47138 is a reply to message #47137] Mon, 19 December 2016 20:40 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 593
Registered: November 2008
Location: France
Contributor
Hello deepack,

I may be mistaking, but I think what rxantos is expecting is some "eclipse" like docking.
Leaving a whole in the middle isn't very natural, you must be able to put something in it by drag'n'droping

From my point of view, this is the main default of the docking package which otherwise works quite well.
But because of this missing feature, it isn't usable in production applications.
Re: Docking in the middle. [message #47143 is a reply to message #47138] Tue, 20 December 2016 17:02 Go to previous message
rxantos is currently offline  rxantos
Messages: 71
Registered: October 2011
Member
Didier wrote on Mon, 19 December 2016 14:40

I may be mistaking, but I think what rxantos is expecting is some "eclipse" like docking.
Leaving a whole in the middle isn't very natural, you must be able to put something in it by drag'n'droping


This is exactly what I mean.
Previous Topic: not wanting to pick all members of user type
Next Topic: Problem using boost library
Goto Forum:
  


Current Time: Fri Jan 22 17:57:23 CET 2021

Total time taken to generate the page: 0.01885 seconds