zertovitch / gwindows

GWindows: GUI framework for MS Windows
https://sf.net/projects/gnavi/
21 stars 5 forks source link

Suppress Tabs control flicker. #34

Closed NicoPy closed 7 months ago

NicoPy commented 7 months ago

The Tabs Control flicker is mainly suppressed by not erasing the control background. The remaining flicker is suppressed by using double buffering when painting. The double buffering method is made global so it can be used by all controls (and windows). You just need to set a flag with Control.Double_Buffered_Paint (True).