• 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
tooltip doesn't appear until losefocus/gainfocus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tooltip doesn't appear until losefocus/gainfocus


  • Subject: tooltip doesn't appear until losefocus/gainfocus
  • From: Seth Delackner <email@hidden>
  • Date: Wed, 13 Oct 2004 14:12:34 +0000
  • Mail-followup-to: email@hidden

If I use 10.3's new NSToolTipAttributeName to apply a tooltip to text, then let the NSTextView delegate respond to

-textView:willDisplayToolTip:forCharacterAtIndex:

I do
1. The textview is already in focus
2. Press the hotkey that programmatically inserts some text with that attribute
3. mouse over the text

and the delegate method is never called.

Now, if I cmd-tab out, then back in, causing the view to regain focus, mousing over the text triggers the delegate and the tooltip appears.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: my menus and LSUIElement = 1
  • Next by Date: how to receive a Cocoa drag in a Carbon app using regular Drag Manager?
  • Previous by thread: Changing origin/rotation while printing?
  • Next by thread: how to receive a Cocoa drag in a Carbon app using regular Drag Manager?
  • Index(es):
    • Date
    • Thread