On Fri, Jun 5, 2009 at 1:50 PM, iseecolors<iseecol...@sbcglobal.net> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to