• 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
[PreferencePane and addTrackingRect]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PreferencePane and addTrackingRect]


  • Subject: [PreferencePane and addTrackingRect]
  • From: "Yves Peneveyre" <email@hidden>
  • Date: Mon, 22 Oct 2001 15:46:16 +0200

Hi all !

I'm writting a preference pane and I'd like my controller be notified
when the cursor is on one of my button.

I used the setAcceptsMouseMovedEvents: and the
addTrackingRect:owner:userData:Inside:
methods, but this last one returns 0.
For the first method, the receiver is the system preferences window and for
the second
method I tried to use the system preferences window's view ([theWindow
contentView]),
the button itself, the button's superview and each time the addTrackingRect
returns 0.

Is there something I forgot ?
Is it possible to handle the mouseEntered and mouseExited events in a
preference pane ?

I thank you for your help.

Yves


  • Prev by Date: help with resource conversion
  • Next by Date: Re: Build error MasterObjectFile.combine
  • Previous by thread: Re: help with resource conversion
  • Next by thread: what's not to like??
  • Index(es):
    • Date
    • Thread