• 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: Non opaque NSView subclass moving its window when dragged
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non opaque NSView subclass moving its window when dragged


  • Subject: Re: Non opaque NSView subclass moving its window when dragged
  • From: Greg Parker <email@hidden>
  • Date: Wed, 28 Nov 2007 00:09:18 -0800

Raphael Sebbe wrote:
I have an NSView subclass which returns no for -isOpaque (intended). When clicking and dragging inside that view, the window moves, which is not what I want. The mouseXxxx: methods are overridden, and do not call super's. Does someone have a clue on this ?

Look up -[NSView mouseDownCanMoveWindow].

"This allows applications to determine the region by which a window can be moved. By default, this method returns NO if the view is opaque; otherwise, it returns YES. Subclasses can override this method to return a different value."


-- Greg Parker email@hidden Runtime Wrangler


_______________________________________________

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


  • Prev by Date: Re: Use of assign vs. copy for accessors in Garbage Collected app
  • Next by Date: Re: Use of assign vs. copy for accessors in Garbage Collected app
  • Previous by thread: Re: Non opaque NSView subclass moving its window when dragged
  • Next by thread: Selections in NSCollectionView
  • Index(es):
    • Date
    • Thread