|
|
Home » Developing U++ » UppHub » Docking package (plus examples)
Re: Docking package (plus examples) [message #19816 is a reply to message #19814] |
Sat, 24 January 2009 06:35 |
Novo
Messages: 1363 Registered: December 2006
|
Ultimate Contributor |
|
|
Thanks.
mrjt wrote on Fri, 23 January 2009 07:20 | You have several options here:
- Use the DockWindow::WindowButtons function to remove the close button from all it's child windows
|
Even if I remove all buttons using DockWindow::WindowButtons, a “close” button on floating window won't disappear. Actually, instead of developing of a “finding lost control” functionality I'd prefer to completely prevent closing/hiding of controls.
Another scenario, which I'd like to see in the docking package is the ability to automatically close/hide all floating child controls when a parent control gets deactivated (by switching tabs, for example), and making them float back when parent control gets activated again. That should look like closing and reopening of a bunch of windows.
Thanks again.
Regards,
Novo
|
|
|
|
Re: Docking package (plus examples) [message #19838 is a reply to message #19823] |
Mon, 26 January 2009 10:31 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Novo wrote on Sun, 25 January 2009 03:59 | It would be nice to fix size of the "close" button on a floating window. It seems to be very small.
|
I don't have a Vista machine at the moment, but I guess this is because I'm calling ToolWindow on the child container windows. On XP I think this looks much better, on X11 and perhaps Vista not so much.
I've added a function DockWindow::ChildToolWindows so that you can specify this yourself. Defaults to true on Win32, false on X11. Revision 812.
[Updated on: Mon, 26 January 2009 11:57] Report message to a moderator
|
|
|
|
|
Re: Docking package (plus examples) [message #19867 is a reply to message #19855] |
Wed, 28 January 2009 05:53 |
Novo
Messages: 1363 Registered: December 2006
|
Ultimate Contributor |
|
|
mrjt wrote on Tue, 27 January 2009 06:15 |
Novo wrote on Tue, 27 January 2009 05:15 | Minor problem:
"autohide" is not initialized within DockWindow::DockWindow()
|
It is, but I call DockWindow::AutoHide() rather than directly initialising the member variable. The initialisation could be cleaned up though.
|
DockWindow& DockWindow::AutoHide(bool v)
{
if (v != autohide) {
autohide = v;
SyncAll();
}
return *this;
}
You call AutoHide(true) in the constructor with uninitialized "autohide".
It is hard to fool valgring
Regards,
Novo
[Updated on: Sun, 26 April 2009 17:20] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Jun 10 14:03:08 CEST 2024
Total time taken to generate the page: 0.01674 seconds
|
|
|