Drawing a ListBox’s Cell, One Cell only, not the whole Row?

I have a “hole”… I realize that I do not know how to draw one Cell Background…

Imagine a three columns ListBox and you want to fill Column(2) with a color.

I Add a CellBackgroundPaint, and then… what must I wrote to paint only teh Cell in Column #2 ?

I know how to set the back color (drawing) color.

But I use:
g.FillRectangle(0,0, g.Width, g.Height)
to fill the Row background…

If column = 2 Then
End If


1 Like

Thank you Stephan. I really forget all about this and the Local Help was not helping me (or I do not see that).