• 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: Strange NSView/NSWindow behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange NSView/NSWindow behavior


  • Subject: Re: Strange NSView/NSWindow behavior
  • From: Murat Konar <email@hidden>
  • Date: Tue, 4 May 2010 13:20:34 -0700

On May 4, 2010, at 11:32 AM, vincent habchi wrote:

Keeping it short: look up -[NSView mouseDownCanMoveWindow]. Override it to return NO if you never want a click in the view to drag the window.

But, if I am not mistaken, when the event is caught and handled, it should not propagate further without a call to [super mouseXXX:event], no?

You're assuming that the window is being moved in (some override of) the mouseXXX: messages. It could be, for example, that moving a window is handled by the code further up in the call chain that eventually calls mouseXXX (-[NSWindow sendEvent:], perhaps).


_murat
_______________________________________________

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: 
 >Strange NSView/NSWindow behavior (From: vincent habchi <email@hidden>)
 >Re: Strange NSView/NSWindow behavior (From: Greg Parker <email@hidden>)
 >Re: Strange NSView/NSWindow behavior (From: vincent habchi <email@hidden>)

  • Prev by Date: Re: converting resources, icons, and dialogs to interface builder
  • Next by Date: ScriptingBridge Commands
  • Previous by thread: Re: Strange NSView/NSWindow behavior
  • Next by thread: Re: Strange NSView/NSWindow behavior
  • Index(es):
    • Date
    • Thread