Re: detecting
Re: detecting
- Subject: Re: detecting
- From: Ondra Cada <email@hidden>
- Date: Fri, 28 Sep 2001 09:34:52 +0200
hyperzoanoid,
>
>>>>> email@hidden (h) wrote at Sun, 4 Jan 1970 19:19:21 -0600:
h> i need to determine if a click occurs in a area
h> i used an nsrect and the mouse:inrect: method but it doesnt work right.
h> Can someone show me how to do this?
Probably you forgot to translate the mouse coords to your view. See
convertPoint:fromView:
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc