|Re: Get which TreeItem has focus in a Tree ? [message #491914 is a reply to message #491814]
||Fri, 16 October 2009 14:09
| Grant Gayed
Registered: July 2009
Yes, that's native focus rectangle behaviour. Encouraging apps to depend on|
it in general, especially across platforms, probably wouldn't be doing them
The snippet in my other reply should work equally well on 64-bit Windows and
Windows 7, assuming that native Tables and Trees in Windows 7 show focus
"Gary Miguel" <email@example.com> wrote in message
> Hmm, it seems that on Windows XP, there's no focused TreeItem until you
use the keyboard to navigate through the Tree. If I open my app and just use
the mouse to click, shift-click, control-click, etc, there's no dotted line,
and the listener never gets called.
> I suppose I can see why it's not a supported SWT feature...
Powered by FUDForum
. Page generated in 0.02201 seconds