• 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: dragging window when selecting an NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >XIB and AppleGlot (From: Eric Slosser <email@hidden>)
 >Re: XIB and AppleGlot (From: Jonathan Hess <email@hidden>)
 >Re: XIB and AppleGlot (From: Eric Slosser <email@hidden>)
 >Re: XIB and AppleGlot (From: Jonathan Hess <email@hidden>)
 >dragging window when selecting an NSImageView (From: iseecolors <email@hidden>)

  • Prev by Date: Re: Profiling a drag and drop operation
  • Next by Date: Re: get a window in front by clicking on a menu item
  • Previous by thread: dragging window when selecting an NSImageView
  • Next by thread: Re: XIB and AppleGlot
  • Index(es):
    • Date
    • Thread