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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top