[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.platform.swt] Custom draw in Tables
From
:
craquerpro@xxxxxxxx
(David Perez)
Date
: Mon, 28 Apr 2008 10:44:04 +0000 (UTC)
Newsgroups
:
eclipse.platform.swt
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
I have done some custom draw in a cell.
It works perfectly and it's easy to do thanks to this good article:
http://www.eclipse.org/articles/article.php?file=Article-CustomDrawingTableAndTreeItems/index.html
When the table has the SWT.FULL_SELECTION style, the background is not painted ok for selected rows, so I must paint it myself.
This is easy to do, but how do I select the right colors, i.e., how do I know which are the default background colors for selected/regular rows?
I want to avoid using the OS.GetSysColor() function. Thanks for any tip.
Follow-Ups
:
[news.eclipse.platform.swt] Re: Custom draw in Tables
From:
Tom Schindl
Prev by Date:
[news.eclipse.platform.swt] Table/TreeViewer with variable height lines
Next by Date:
[news.eclipse.platform.swt] How to disable checking item in the CheckboxTreeViewer
Previous by thread:
[news.eclipse.platform.swt] Table/TreeViewer with variable height lines
Next by thread:
[news.eclipse.platform.swt] Re: Custom draw in Tables
Index(es):
Date
Thread