ListView with background image.

  • Thread starter Thread starter Lloyd Sheen
  • Start date Start date
L

Lloyd Sheen

I have now googled for a couple of hours with no success. I am looking to
find code to create a listview with a background image. I know it can be
done but cannot find a link to code or a hint.

Lloyd Sheen
 
Thanks that works great. One more question if you don't mind. As soon as I
add listviewitems I attempt to set the backcolor to color.transparent but
the items obsure the background image. Is there a way to change this
behaviour?

Lloyd Sheen
 
I got it although I was not looking for that answer.

Put this code into a Sub Main and magically the listview will show the
background image and the listview items show only t he text.

Application.EnableVisualStyles()
Application.DoEvents()
Application.Run(New Form1)


Thanks for the help and the direction.

Lloyd Sheen
 

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