Weird effect.
Using 0.0.558, I call Win32::GUI::DoEvents() manually from a main loop . I
have a popup-menu on a NotifyIcon, nothing else.
This is the weird thing. When I select something in the menu, the event
handler gets called twice.
The main loop is basically:
IO::Select->select($readable, $writeable, undef, 0.1);
DoEvents();
* I tried to lower the timeout value to 0.05, same thing.
* Can I discard the remaining event queue if nothing else works?
* Replace my DoEvents-loop with Win32::GUI::Dialog() and it works fine.
Any ideas?
/J
-------- ------ ---- --- -- -- -- - - - - -
Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED]
Latest bookmark: "Perl memory management - Jan Dubois - Re lookin..."
http://aspn.activestate.com/ASPN/Mail/Message/895049
dmoz (1 of 8): /Computers/Programming/Languages/Ruby/ 33