Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Annoying problem with ListView's BackgroundImage

Back to Forum: Tech Off
  • User profile image

    So I have a ListView that I am working with. I'm using Visual Studio 2005, so I have the ability to set the BackgroundImage, but for some reason, whoever was in charge of the control decided that the image should scroll with the text. I'm looking to take an image and drop it in the background and have it never move.

    One thing I tried was dropping an image into the form behind the ListView and setting the background to transparent, which requires you to subclass the ListView and do some SetStyle commands, including UserPaint. While that does indeed let me see the image I put behind it, it requires me to redo the entire painting of the control, which, sadly enough, I can't seem to get to work.

    Does anyone know of a workaround or a control I can get that lets me drop a static background image in to this ListView? I don't mind going with a commercial product if that's what I have to do.

    Thanks for any help. I've been working on this for a few days, and can't seem to get anything I try to work.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.