When I use the CellBackgroundPaint-Event of a Listbox, activate the Listbox property AllowResizeableColumns and also resize the columns, a thin white hairline is drawn over the Listbox. Is there a way around this?
[code]If row Mod 2 = 0 Then
g.DrawingColor = Color.Blue
Else
g.DrawingColor = Color.Red
End If
[quote=493247:@Christian Schmitz]does it go away if you use g.width+1 and g.height+1 for the draw command?
that may add the one pixel missing, I presume.[/quote]
Sadly, your suggestion does not correct the issue.