• 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: Make NSWindow immovable by dragging bottom bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make NSWindow immovable by dragging bottom bar


  • Subject: Re: Make NSWindow immovable by dragging bottom bar
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 2 Jan 2010 15:50:12 -0700

On Jan 2, 2010, at 3:45 PM, PCWiz wrote:

> And also I need some clarification on the mouse event eater. Would it just be something like this in the subclass:
>
> - (void)mouseDown:(NSEvent*)theEvent
> {
> 	// Do nothing
> }

That's correct; you just need to make it so that the default implementation is not called. The default implementation forwards the event down to the next responder. You also might need to override -acceptsFirstResponder to return YES if the mouse-eater is still not getting the events...

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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

  • Follow-Ups:
    • Re: Make NSWindow immovable by dragging bottom bar
      • From: PCWiz <email@hidden>
    • Re: Make NSWindow immovable by dragging bottom bar
      • From: PCWiz <email@hidden>
References: 
 >Make NSWindow immovable by dragging bottom bar (From: PCWiz <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: Nick Zitzmann <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: PCWiz <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: Nick Zitzmann <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: PCWiz <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: Nick Zitzmann <email@hidden>)
 >Re: Make NSWindow immovable by dragging bottom bar (From: PCWiz <email@hidden>)

  • Prev by Date: Re: Make NSWindow immovable by dragging bottom bar
  • Next by Date: Re: [[sender selectedCell] tag] crashes in 10.6
  • Previous by thread: Re: Make NSWindow immovable by dragging bottom bar
  • Next by thread: Re: Make NSWindow immovable by dragging bottom bar
  • Index(es):
    • Date
    • Thread