• 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: mouseMoved not coming in?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouseMoved not coming in?


  • Subject: Re: mouseMoved not coming in?
  • From: "Marc Wan" <email@hidden>
  • Date: Thu, 25 Jan 2007 13:47:45 +0800

On 1/25/07, John C. Randolph <email@hidden> wrote:


If one -makeFirstResponder message doesn't work, neither will any
others.  Stick this  into your view's implementation file:

I kinda figured that and was just being kind of silly :-).


The solution was to implement concludeDragOperation: (id) sender and have it call makeFirstResponder on the utilty NSView. It seems as though the dragging operation causes the target view to take firstResponder, and I just needed to find the appropriate time to set it back to the utilty view.

I'm still not 100% sure I'm doing the mouseMoved/Dragged thing
correctly, but all works well now, and doesn't have a monstrously
hacky feel to it.

 thanks to all who helped!

 marc.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >mouseMoved not coming in? (From: "Marc Wan" <email@hidden>)
 >Re: mouseMoved not coming in? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Regarding launching an application at startup of mac.
  • Next by Date: Re: Redrawing in a custom NSView.
  • Previous by thread: Re: mouseMoved not coming in?
  • Next by thread: Strange errors in NSMovie
  • Index(es):
    • Date
    • Thread