Recent

Author Topic: TListView - Changing the background causes artifacting  (Read 1634 times)

sgalland

  • Newbie
  • Posts: 3
TListView - Changing the background causes artifacting
« on: November 21, 2014, 12:39:29 am »
Hello everyone,

I have been experimenting to get TListView to draw a background and a way to eliminate the drawing artifacts (putting the background image behind every list item) by using invalidate. It works when the app is not maximized, but when the app is maximized on Windows it causes some artifacting to occur as well.

I have two questions: how do I prevent this new artifacting (am I using invalidate wrong??) and secondly how should I improve my code so that it seems a bit more professional?

I attached my code if that helps.

Thanks in advance,
Sean
« Last Edit: November 21, 2014, 12:48:33 am by sgalland »

 

TinyPortal © 2005-2018