Re: dragging window when selecting an NSImageView
Re: dragging window when selecting an NSImageView
- Subject: Re: dragging window when selecting an NSImageView
- From: Michael Ash <email@hidden>
- Date: Fri, 5 Jun 2009 21:41:44 -0400
On Fri, Jun 5, 2009 at 1:50 PM, iseecolors<email@hidden> wrote:
> I have a static NSImageView in a window and need to be able to have the user
> drag the window around when clicking on the image. This works for a static
> NSTextField in the window, but not the NSImageView? It seems like there
> should be a way to set the NSImageView be ignored by the event system, but I
> have not found a way - short of making a subclass of NSImageView just to
> implement and override of mouseDragged: .
>
> Any thoughts or suggestions will be greatly appreciated.
Subclass and override:
- (BOOL)mouseDownCanMoveWindow;
Mike
_______________________________________________
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