Virtual ListCtrl Items Flicker when deselcted

I have a virtual list control, when I deselect an item the overlay flashes on and off twice. It's very anoying.
anthony_sebastianAsked:
Who is Participating?
 
SpideyModConnect With a Mentor Commented:
PAQ'd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0
 
anthony_sebastianAuthor Commented:
Here's a better way to put it. How do I set an overlay image with a virtual list control ?
0
 
anthony_sebastianAuthor Commented:
I fixed this by setting up a clip region around each icon in the control and excluding (ExcludeClipRect) the regions from the erase background update, the backround now erases everything except behind the icons. This fixes the flicker. The back ground is blue and the icons are white.
0
 
anthony_sebastianAuthor Commented:
I fixed this by setting up a clip region around each icon in the control and excluding (ExcludeClipRect) the regions from the erase background update, the backround now erases everything except behind the icons. This fixes the flicker. The back ground is blue and the icons are white.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.