• 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: Can't receive mouseMoved: message in custom QCView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't receive mouseMoved: message in custom QCView


  • Subject: Re: Can't receive mouseMoved: message in custom QCView
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 21 Feb 2006 18:22:42 -0800


On Feb 21, 2006, at 8:09 AM, Kenny Leung wrote:

This works for me:

    [magnifier makeFirstResponder:_magnifierView];
    [magnifier setAcceptsMouseMovedEvents:YES];

I found that you have to call makeFirstResponder before setAcceptsMouseMovedEvents. LAME!

No, not at all. When you set the first responder, the window checks what kind of events that responder takes. This saves the cost of testing what your view can take before sending it each and every event.


-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Can't receive mouseMoved: message in custom QCView (From: "Chen Ben" <email@hidden>)
 >Re: Can't receive mouseMoved: message in custom QCView (From: Kenny Leung <email@hidden>)

  • Prev by Date: Re: How to quit application when close the main window by click icon x on left-top corner of the window?
  • Next by Date: Re: Click = Toolbar Goes Blank!
  • Previous by thread: Re: Can't receive mouseMoved: message in custom QCView
  • Next by thread: Metal Texture Background
  • Index(es):
    • Date
    • Thread