The mouse movement problem was related to the parameters to the mouse movement and click event handlers. In earlier versions the first param was kind of unused (or at least undocumented), and I guess it was removed in this version.

I'll just branch on version <= 0.9 to get that to work, no biggie.


At 16:59 2004-10-20, Jez White wrote:
The global destruction issue, well, good luck tracking that one down:) When the Loft user closes the test/preview window, do you do anything special?

Currently I don't do anything. I guess something happened to the default action of the Window _Terminate event.

I can work around this, so that in itself doesn't break TGL sufficiently to not release 1.0. But the problem is still there. What happens is this:

The main window disappears for no reason (perhaps _Terminate returns -1 and exits the event loop) and this is spewed: Use of uninitialized value in subroutine entry at C:/appl/dev/mod_perl/Perl/site
/lib/Win32/GUI.pm line 2712 during global destruction.

That in the the Win32::GUI::DC DESTROY. The $self at that point is an empty hash ref object.

With a little print statements in new and DESTROY, I can see that DC objects are created and destroyed a LOT for some reason. Maybe something is painted.

I don't have time to debug more right now, but I'll check it out.

I suppose I should release a version of TGL that works with both Win32::GUI pre and post 0.9 before we unleash 1.0 on the public. I'm away tomorrow and Saturday, but maybe on Sunday.


/J

-------- ------ ---- --- -- --  --  -     -     -        -          -
Johan Lindström    Sourcerer @ Boss Casinos   johanl AT DarSerMan.com

Latest bookmark: "TCP Connection Passing"
http://tcpcp.sourceforge.net/
dmoz: /Computers/Programming/Languages/JavaScript/ 12


Reply via email to