At 22:23 2002-10-17 +0200, Johan Lindstrom wrote:
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.

Ok. The same thing goes for cursor movement events within e.g. a RichEdit or a TextField control. Pressing the right arrow to move the cursor one step will cause it to go two steps. Pressing the down arrow to move down one row will jump two rows down. Pressing e.g. Tab to move to the next control works fine.

This is isolated to DoEvents. Using Win32::GUI::Dialog(), everything works fine. Even the tightest possible DoEvents loop:

Win32::GUI::DoEvents() while(1);

will cause this problem, so it's not that I have too much time away from the GUI.

Win32::GUI 0.0.558.


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "XEmacs XEmacs and Supporting Libraries and Prog..."
http://xemacs.org/Download/win32/
dmoz: /Computers/Open_Source/Software/Editors/ 98



Reply via email to