Re: MouseTrap Crash
- Posted by cklester <cklester at yahoo.com> Aug 07, 2004
- 403 views
Derek Parnell wrote: > > cklester wrote: > > > > Derek, in case this will be helpful... I'm clicking on a mousetrap I've > > set and getting this error... > > [snip] > > I suspect you are calling updateMouseTrap somewhere and the third > parameter to that is not correct. That was a good clue. Actually, it was when I created the mouseTrap, I was passing a sequence of four sequences (points)... But that's fixed and it works. Now, when I click on the mouseTrap area, wouldn't returnValue(-1) prevent the click from going through to the underlying controls? It doesn't seem to be stopping the click. I get a click response for the mousetrap, but the underlying window also receives the click although I've used returnValue(-1) in the mousetrap click code. -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/