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 invalidated. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/pantdraw_88ac.asp 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. Regards Mark ____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.
DisplayNodes.pl
Description: DisplayNodes.pl