FROM : M. Uli Kusterer
DATE : Tue Nov 23 22:49:37 2004
At 17:56 Uhr -0500 20.11.2004, Bruce Beerbower wrote:
>I have a program in which I want to change the cursor when the user
>points at a button. I assume that this can be accomplished by using
>mouseEntered and mouseExited in NSButtonCell. How do I go about this?
Have a look at the docs: at the top of the NSView docs there's a
couple of links:
Handling Mouse Events in Views
Handling Tracking-Rectangle and Cursor-Update Events in Views
The latter is what you want.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
DATE : Tue Nov 23 22:49:37 2004
At 17:56 Uhr -0500 20.11.2004, Bruce Beerbower wrote:
>I have a program in which I want to change the cursor when the user
>points at a button. I assume that this can be accomplished by using
>mouseEntered and mouseExited in NSButtonCell. How do I go about this?
Have a look at the docs: at the top of the NSView docs there's a
couple of links:
Handling Mouse Events in Views
Handling Tracking-Rectangle and Cursor-Update Events in Views
The latter is what you want.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
| Related mails | Author | Date |
|---|---|---|
| Bruce Beerbower | Nov 20, 23:56 | |
| M. Uli Kusterer | Nov 23, 22:49 |






Cocoa mail archive

