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

Changing an NSCursor on "Mouse-Over"


  • Subject: Changing an NSCursor on "Mouse-Over"
  • From: Michael Becker <email@hidden>
  • Date: Wed, 10 Mar 2004 18:31:22 +0100

Hello!

I would like to implement a resizable rectangle in my NSView subclass. When the mouse hovers over one of the rectangle's borders, the cursor should change to a "resize"-cursor.
Unfortunately, I cannot use -addCursorRect:cursor: and the like, because I want only the borders to trigger the change.

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

Regards,
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.


  • Follow-Ups:
    • Re: Changing an NSCursor on "Mouse-Over"
      • From: John Randolph <email@hidden>
    • Re: Changing an NSCursor on "Mouse-Over"
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: Subclass of NSMutableArray isn't working
  • Next by Date: Re: Cocoa console applications (daemons)
  • Previous by thread: Re: [q] SMS / UPC (SMSC)
  • Next by thread: Re: Changing an NSCursor on "Mouse-Over"
  • Index(es):
    • Date
    • Thread