At 13:57 2001-10-27 +0100, Mark Rivington wrote:
According to MSDN, all I need is to intercept the
HW_PAINT message and redraw the part of the DC that is
invalidated.
There already is a Paint event for the Win32::GUI::Graphic control. Take a
look at The GUI Loft if you need a working piece of code. Open
./lib/TGL/WindowDesign.pm
and search for "_Paint". Download the source at:
http://www.bahnhof.se/~johanl/perl/Loft/
/J
------ ---- --- -- -- -- - - - - -
Johan Lindström Boss Casinos
Sourcerer [EMAIL PROTECTED]
http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail