Click, drag, release

new topic     » topic index » view thread      » older message » newer message

I have a window that I want people to be able to draw on with the mouse.  I
want to test on every firing of the onMouse event whether the mouse button
is down or up, so I can program my other routines accordingly.

Right now, the LeftDown and LeftUp events are only fired once per "drag".  I
do not want to have a variable that stores which the last event was, because
if the mouse button is released outside of the window it will continue to
drag until they click again.

Can somebody help with this problem?

~Tom

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu