mIRC Home    About    Download    Register    News    Help

Print Thread
#154485 29/07/06 07:24 PM
Joined: Jun 2003
Posts: 23
V
vakuum Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jun 2003
Posts: 23
In the old channelbar, if you had at least 2 windows opened, and had had both of them selected, you could press the one you currently were in, to go back to the window you were in before that. That does not seem to work in the treebar in 6.2.

Must say I love the treebar otherwise, nice work khaled, and all of you how asked for this feature. :-)


#HelpDesk @ DALnet
#154486 30/07/06 03:20 AM
Joined: Apr 2005
Posts: 1,009
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
wouldnt call this bug but rather missing feature
and i would also like this to be added


IceCapped
#154487 30/07/06 01:47 PM
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
This is because a treeview control does not process a left click when it is already selected, you will notice the same lack of action in MDX. The treeview control will need to be subclassed and the WM_LBUTTONDOWN message will need proceesed by the subclassed WndProc.


NaquadaBomb
www.mirc-dll.com
#154488 31/07/06 06:56 PM
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
I experimented with this behaviour prior to release and it doesn't work quite as you'd expect since the treebar behaves very differently to a switchbar.

For example, if you click an item in the treebar several times, the clicking may be treated as a single-click or a double-click depending on how quickly you click. Also, the status window item is both a tree node and a window item, so a double-click on it expands/contracts it.

Basically: having the same open/close-on-click behaviour on a treebar item can be quite annoying and unpredictable.

I may add an option for it so that it can be enabled/disabled.


Link Copied to Clipboard