Re: [perl-win32-gui-users] Solution: flicker in Win32::GUI

2003-11-16 Thread Jeremy White
From: "Steve Pick" <[EMAIL PROTECTED]> I've recently been looking into the flickering resize in win32::gui. The most compatible solution to this I've found is extremely (and very annoyingly) simple. Just add the style WS_CLIPCHILDREN to your window or dialog box. Steve, I've just tried this and

Re: [perl-win32-gui-users] Suggested addition to GUI.XS and some good news

2003-11-16 Thread Jeremy White
From: "Steve Pick" <[EMAIL PROTECTED]> Can anyone currently maintaining or debugging Win32::GUI add this to GUI.xs? It's a small change that lets you do SetParent() from Perl. Sounds good - will be usefull for other things to - will help solve some of my modal window issues:) These three m

Re: [perl-win32-gui-users] Solution: flicker in Win32::GUI

2003-11-16 Thread Steve Pick
Hi, In my previous message I explained how to stop flickering in Win32::GUI. It turns out that this technique regularly causes widgets to leave imprints behind. Imprints dont seem to be left if widgets dont overlap, though. As I mentioned before I was already looking at painting off-screen, but I

Re: [perl-win32-gui-users] Solution: flicker in Win32::GUI

2003-11-16 Thread Steve Pick
Hi Jez, What you said about WM_ERASEBKGND is true, but the results are similar to setting WS_CLIPCHILDREN. If you block WM_ERASEBKGND messages in the NEM_WindowMsgLoop function in GUI_MessageLoops.cpp by adding something like: if(uMsg == WM_ERASEBKGND) return (LRESULT)1; You get huuuge amounts o

Re: [perl-win32-gui-users] Solution: flicker in Win32::GUI

2003-11-16 Thread Steve Pick
Jeremy, > Doing a little searching I came across this page > http://www.catch22.org.uk/tuts/flicker.asp The page gives good advice and does exactly what I've already done with double-buffering. However the problem is that double buffering requires that widgets are drawn when the main window recei