[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Custom draw in Tables

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.