[perl-win32-gui-users] Pinting and drawing: how to intercept HW_PAINT message?

2001-10-27 Thread Mark Rivington
Following on from my email of Thursday about Win32::GUI::PeekMessage which I failed to get working, I tried using a Win32::GUI::Graphic control as suggested but I always get an undef handle returned. According to MSDN, all I need is to intercept the HW_PAINT message and redraw the part of the DC t

[perl-win32-gui-users] Does Win32::GUI::PeekMessage work?

2001-10-25 Thread Mark Rivington
I have a window full of colourful cirles that get blanked out whenever another window goes on top. I have tried to intercept the redraw message with PeekMessage but got nothing out of it. GetMessage works but hangs the application as it waits on the call. Anybody got any bright ideas? Thanks Mark