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 that is
I have attached what I have done so far in case
anybody wants to go down the same road. The only real
issue left is the redraw problem.
If anybody fancies solving the problem, let me know.
Nokia Game is on again.
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.
From: Johan Lindstrom <johanl@ba...> - 2001-10-28 18:02:41
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
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
and search for "_Paint". Download the source at:
------ ---- --- -- -- -- - - - - -
Johan Lindström Boss Casinos
If the only tool you have is a hammer,
everything tends to look
like a nail