[Lazarus] flickering on statusbar panel

Sergei Gorelkin sergei_gorelkin at mail.ru
Fri Dec 19 18:45:02 CET 2008


Michael Van Canneyt wrote:

> As far as I know, in Delphi the statusbar updates immediatly, contrary to a label.
> 
There is a bug in VCL that causes statusbars flicker. It can be fixed by 
something like not passing WM_ERASEBKGND to DefWindowProc ("something 
like" is because it was a long time ago, and I cannot remember exactly). 
All common controls are doublebuffered natively by Windows, so they 
shouldn't flicker even without doublebuffering in LCL.

Regards,
Sergei



More information about the Lazarus mailing list