• 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
[SOLVERD] Changing an NSCursor on "Mouse-Over"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVERD] Changing an NSCursor on "Mouse-Over"


  • Subject: [SOLVERD] Changing an NSCursor on "Mouse-Over"
  • From: Michael Becker <email@hidden>
  • Date: Thu, 11 Mar 2004 10:47:11 +0100

So how can I achieve this "mouse is over specified coordinate, so do something" behaviour? Is there something like -mouseDown: only without the "down" :-) ?

You mean something like this:

- (void)mouseMoved:(NSEvent *)theEvent


I thought so, too, at first. But even though my windows -setAcceptsMouseMovedEvents: is set to YES and I implemented the -mouseMoved: method, it never gets called. I've read of this phenomenon in the archives, too, so it seems to be either a bug or a feature :-)


It seems to be a bug in my head :-) I forgot to make the window the first responder! Now that I did, everything works the way it is supposed to!

Bye,
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Changing an NSCursor on "Mouse-Over" (From: Michael Becker <email@hidden>)
 >Re: Changing an NSCursor on "Mouse-Over" (From: Allan Odgaard <email@hidden>)
 >Re: Changing an NSCursor on "Mouse-Over" (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Privileged write to file
  • Next by Date: Re: Changing an NSCursor on "Mouse-Over"
  • Previous by thread: Re: Changing an NSCursor on "Mouse-Over"
  • Next by thread: Re: Changing an NSCursor on "Mouse-Over"
  • Index(es):
    • Date
    • Thread