Override OnPaintBackground Listbox

  • Thread starter Thread starter Alex Kazovic
  • Start date Start date
A

Alex Kazovic

I am trying to override the background colour of a list box with
GradientPath blended colours.

In other controls I override either OnPaint or OnPaintBackground. With the
ListBox control this has no effect unless the ControlStyles are set to
UserPaint. Even then I can't get it to work correctly. Any ideas?

Thanks

Alex Kazovic
 
Back
Top