Re: [perl-win32-gui-users] WG: flickering static-DC

2009-03-13 Thread Raphael Stoeckli
Hi Jeremy Thanks much for the hint. The sample-program is now 100%-non-flickering. The “–style => 0,” made it. So the DC-issue is fully solved. Is there also such a simple trick to prevent the flickering of the other window-elements, while resizing? Near some Buttons and lables, I have two richedi

[perl-win32-gui-users] Makefile.PL

2009-03-13 Thread Sean Healy
I've been looking at the Makefile.PL to try and figure out how it works (because I'm creating my own extension). But I can't figure out how it knows to build the subpackages (AxWindow, BitmapInline, Scintilla, etc.), and how it knows which ones should have their code included in GUI.dll and whi

Re: [perl-win32-gui-users] WG: flickering static-DC

2009-03-13 Thread Jeremy White
Hi, It's not a Win32-GUI problem either - it's a windows thing. When a window is resized windows clears the area *before* the paint event is fired, resulting in that flash/flicker. You can work around this by associating a class to the window (which, I think, from memory stops the event that

[perl-win32-gui-users] WG: flickering static-DC

2009-03-13 Thread Raphael Stoeckli
Hi @ all Here is a sample-programm for displaying a static DC over a memory-DC. The sample is adapted from 'Region.pl'. Flickering while moving the window, or moving an other window over the DC is gone. Only while resizing the window, flickering appears. I think that is not a DC-problem, but a win