• 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
Re: NSImageView mouseClick Location?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView mouseClick Location?


  • Subject: Re: NSImageView mouseClick Location?
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 29 Aug 2001 17:00:09 +0200

On jeudi, ao{t 30, 2001, at 03:00 PM, stuartbryson wrote:

Hi all,

I have an NSImageView in my main window. I want to be able to figure out exactly where the mouse location is when the NSImageView is clicked. Is this possible? This is so that I can figure out the coordinates of where the mouse was clicked on the image loaded into NSImageView.

Create a subclass of NSImageView and override the mouseDown: method and then call the super mouseDown: method in it ?


Does that make sense?

I don't know.


References: 
 >NSImageView mouseClick Location? (From: stuartbryson <email@hidden>)

  • Prev by Date: Re: Abstract classes and methods
  • Next by Date: Re: Oops! Was:Is K&R Still Relevant?
  • Previous by thread: Re: NSImageView mouseClick Location?
  • Next by thread: Re: NSImageView mouseClick Location?
  • Index(es):
    • Date
    • Thread