Re: getting the clicked-in view

2008-07-29 Thread Gary L. Wade
How do you know you got a click in a view? In other words, at what stage are you in your application that you believe you got a click in a view? >Okay, I found a way around the problem... But it might still be handy >to know how to do this, at some point... > >On 29-Jul-08, at 12:56 PM, James

Re: getting the clicked-in view

2008-07-29 Thread James Maxwell
Okay, I found a way around the problem... But it might still be handy to know how to do this, at some point... On 29-Jul-08, at 12:56 PM, James Maxwell wrote: This is really silly, but how can I get a reference to the clicked- in view??? I don't have direct access to the event, but I can ge

Re: getting the clicked-in view

2008-07-29 Thread Andy Lee
Does NSView's -hitTest: method help? --Andy On Jul 29, 2008, at 3:56 PM, James Maxwell wrote: This is really silly, but how can I get a reference to the clicked- in view??? I don't have direct access to the event, but I can get it through NSApp. The problem is, there doesn't seem to be any