Changing an NSCursor on "Mouse-Over"
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.