• 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 tooltips in a custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing tooltips in a custom view


  • Subject: Changing tooltips in a custom view
  • From: Eric Gorr <email@hidden>
  • Date: Tue, 22 Mar 2011 15:34:19 -0400

I've got a sample project at:

http://ericgorr.net/cocoadev/tooltip.zip

What I would like to do is define a single tooltip rect for an entire view but be able to change the tooltip as the cursor moves inside of the view.

Is there a way to do that? Is there a way to force it to hide the current tooltip and display a new one while calling view:stringForToolTip:point:userData:?

I could create my own window that simulates a real tooltip, but wanted to make sure there was nothing built-in that would support this.

thank you.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: design question
  • Next by Date: Re: design question
  • Previous by thread: Re: design question
  • Next by thread: NSOperation with unit test
  • Index(es):
    • Date
    • Thread