Skip navigation.
 
mlReceiving mouseDown event in NSTextView subclass outside of the text container
FROM : Martin Ott
DATE : Tue Nov 06 18:48:25 2007

In my subclass of NSTextView I have overridden mouseDown. The text 
container associated with the text view doesn't fill the whole text 
view. My mouseDown method gets only called when I click in the area of 
the text container. If I hit the area outside of the text container 
but still in the text view my mouseDown method doesn't get invoked.

Is there a way to receive mouseDown events outside the text container? 
Actually I want handle the events outside the container myself and 
call super for handling the events occuring in the container.

Cheers,
Martin

Related mailsAuthorDate
mlReceiving mouseDown event in NSTextView subclass outside of the text container Martin Ott Nov 6, 18:48
mlRe: Receiving mouseDown event in NSTextView subclass outside of the text container Jeff Johnson Nov 6, 19:09