Re: NSImageView mouseClick Location?
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.