I don't think there is an official way to do it.

From the document:
    
http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/AdvancedTechniques/chapter_9_section_6.html

It appears Cocoa supports only the basic form:
"For Carbon controls you can specify both a simple tool tip and an extended help description. You use the Help field to specify the basic tooltip that appears when the user hovers the mouse over a view and you use the Extended Help field to provide an extended version of the tooltip that appears when the user presses the Command key. Cocoa controls support only the basic tool tip information."

Kevin G.


Hi Guys,

I've been instructed to implement tool tips for an app such that a longer, more descriptive tool tip is displayed when the command key is held down. Allegedly there was a way to do this in Carbon that was part of the Help Manager API, but is there a Cocoa alternative? I've had a look at the NSToolTipOwner protocol but I've been unable to find anything that indicates it would solve my problem. I was thinking the best way to do it might be to bind all my tool tips application-wide to an object that overrides -valueForKey: which checks the command key status, and returns the appropriate tool tip. Is there a better solution?

Thanks!
Loukas
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to