Home » Developing U++ » UppHub » Docking: ContexMenu behaviour
Docking: ContexMenu behaviour [message #27541] |
Thu, 22 July 2010 13:14 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi mrjt,
i noticed, that using Docking in tabbed view, one can close all tabs only, by right klicking some free space (where no tab field), 'Close all others' appears.
here is the general question, if a forwarder to TabBar::ContextMenu should be used in DockTabBar, since user it can break a lot, or do you support closing from TabBar point of view?
in case to look to: (here some proposals, not very thought through
DockTabBar.cpp:51
void DockTabBar::RightDown(Point p, dword keyflags)
{
if (GetHighlight() >= 0)
WhenContext(GetHighlight());
//no forward outside own tabs
// else
// TabBar::RightDown(p, keyflags);
}
DockTabBar.h:16
virtual void ContextMenu(Bar& bar) { /*TabBar::ContextMenu(bar);*/ }
hope it got bi clear
|
|
|
Goto Forum:
Current Time: Thu Apr 25 13:23:19 CEST 2024
Total time taken to generate the page: 0.02082 seconds
|