TListView flickers on OS Windows (path included)
Original Reporter info from Mantis: serbod
-
Reporter name:
Original Reporter info from Mantis: serbod
- Reporter name:
Description:
TListView traditinally flickering on resize because multiple EraseBackground() and no DoubleBuffering.
Included path disable WM_ERASEBKGND processing for subitems and for Opaqe control style, when background erasing not needed. Only Win32 widgetset affected, so it safe for another platforms.
Steps to reproduce:
- Create project with default form
- Place TListView, set Align = alClient
- add some Items to TListView
- Run
- Resize form with mouse.
Additional information:
Note, that it not eliminate flickering on some Radeon videocards with slow painting. Adding csOpaque to ControlStyle property eliminate flickering totally, but cause color inconsistence around icons.
Mantis conversion info:
- Mantis ID: 36178
- OS Build: Windows 7
- Platform: Win32
- Version: 2.1 (SVN)