Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Root TreeITem without Expand-Button and Lines
Root TreeITem without Expand-Button and Lines [message #462938] Fri, 21 October 2005 13:23 Go to next message
Adam Pordzik is currently offline Adam PordzikFriend
Messages: 19
Registered: July 2009
Junior Member
Hello,

Windows offers a treeview-style "TVS_LINESATROOT" which is set in
Tree.java's widgetStyle. Since I need an absolute (and for now really
only one) root TreeItem it would be fine if I can hide the line and
the expand/collapse button beside this TreeItem. (Althought this also
could be nice for trees with multiple roots)

What possibilities are there to do this? At least for Windows, is there
a WM_* that I can send to tree.handle or something similiar?

How about other platforms? Gnome/OS-X/Motif? Do they have a analog
appearance for root items?

I think it would it be a good idea offering this as optional, system-
dependend, style-bit for Tree().

A

--
Re: Root TreeITem without Expand-Button and Lines [message #463398 is a reply to message #462938] Fri, 04 November 2005 19:43 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=65825

"Adam Pordzik" <adresseverbummelt@gmx.de> wrote in message
news:djaq48$3j3$1@news.eclipse.org...
> Hello,
>
> Windows offers a treeview-style "TVS_LINESATROOT" which is set in
> Tree.java's widgetStyle. Since I need an absolute (and for now really
> only one) root TreeItem it would be fine if I can hide the line and
> the expand/collapse button beside this TreeItem. (Althought this also
> could be nice for trees with multiple roots)
>
> What possibilities are there to do this? At least for Windows, is there
> a WM_* that I can send to tree.handle or something similiar?
>
> How about other platforms? Gnome/OS-X/Motif? Do they have a analog
> appearance for root items?
>
> I think it would it be a good idea offering this as optional, system-
> dependend, style-bit for Tree().
>
> A
>
> --
Previous Topic:SWT.VIRTUAL TableViewer not sorting
Next Topic:swt button with image and text
Goto Forum:
  


Current Time: Fri Apr 19 20:01:51 GMT 2024

Powered by FUDForum. Page generated in 0.03399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top