http://qs321.pair.com?node_id=587375


in reply to Re: Refreshing text without flicker with AddLabel using Win32::GUI
in thread Refreshing text without flicker with AddLabel using Win32::GUI

Second, there is a noflicker option to Win32::GUI::Window->new, which for some reason defaults to 0.

I was curious, so I investigated.

When this option is off, window updates are performed as follows:

When this option is on, window updates are performed as follows:

Think of it as buffering the output so that all the changes to the window's pixels occurs as close to instantly as possible.

The latter takes longer to update the window, uses more resources and is probably rarely needed.

  • Comment on Re^2: Refreshing text without flicker with AddLabel using Win32::GUI