I
Igor Stroh
Hi there,
I'm trying to implement some kind of a widget toolkit
which is able to display moveable dialogs. It works
pretty smooth so far, but there's one problem: when
a dialog is moved to fast on IE, the mouse pointer
jumps out of the bounds of the "movement-handle",
i.e. the title bar of the dialog. I found a thread[1] in c.l.j
with a great piece of code from Yann-Erwan Perio
which circumvent the problem of "slow" event handling
by using setTimeout. Unfortunatelly the code is extensively
making use of closures, which are extremely hard to read
and to maintain (at least for me).
So my question is, could someone have a look at [2]
and give me a hint of how I could use setTimeout there
in order to speed up the movement?
TIA,
Igor
[1]: <[email protected]>
[2]: http://stroh.scan-plus.de/widgets/
I'm trying to implement some kind of a widget toolkit
which is able to display moveable dialogs. It works
pretty smooth so far, but there's one problem: when
a dialog is moved to fast on IE, the mouse pointer
jumps out of the bounds of the "movement-handle",
i.e. the title bar of the dialog. I found a thread[1] in c.l.j
with a great piece of code from Yann-Erwan Perio
which circumvent the problem of "slow" event handling
by using setTimeout. Unfortunatelly the code is extensively
making use of closures, which are extremely hard to read
and to maintain (at least for me).
So my question is, could someone have a look at [2]
and give me a hint of how I could use setTimeout there
in order to speed up the movement?
TIA,
Igor
[1]: <[email protected]>
[2]: http://stroh.scan-plus.de/widgets/