• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Receiving mouseDown event in NSTextView subclass outside of the text container
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Receiving mouseDown event in NSTextView subclass outside of the text container


  • Subject: Receiving mouseDown event in NSTextView subclass outside of the text container
  • From: Martin Ott <email@hidden>
  • Date: Tue, 6 Nov 2007 18:48:25 +0100

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
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Receiving mouseDown event in NSTextView subclass outside of the text container
      • From: Jeff Johnson <email@hidden>
  • Prev by Date: Re: NSImage problem with universal binary
  • Next by Date: Re: Extend QuickLook to other standard files
  • Previous by thread: Re: Garbage Collection in 10.4
  • Next by thread: Re: Receiving mouseDown event in NSTextView subclass outside of the text container
  • Index(es):
    • Date
    • Thread