Hi all,
I’m drawing an image with alpha channel to one of my listbox columns. Unfortunately this has the result of that cell becoming discolored when the row is selected.
In my PaintCellBackground I need to do g.FillRectangle with the color of the selection prior to drawing my Picture, however I am having a hard time finding that color value.
I’ve tried Color.HighlightColor and it’s close, but it’s a bit off. How can I calculate the exact system color of a selected row?
I need something that works on both Mac & Windows.
Thanks in advance for any tips.
10 posts - 3 participants