Re: How to get Tool Tip color ? -- Solved
Re: How to get Tool Tip color ? -- Solved
- Subject: Re: How to get Tool Tip color ? -- Solved
- From: Corbin Dunn <email@hidden>
- Date: Wed, 16 Nov 2005 15:08:18 -0800
Am 16.11.2005 um 15:00 schrieb Jim Correia:
Just for anybody who is looking for a cocoa solution to retrieve tool
tip color. The code is:
NSColor *theToolTipColor = (NSColor *)[NSColor performSelector:
@selector(toolTipColor)];
The usual caveats of using non-public methods apply here.
If you are going to ship code which does that, at the very least
you should make sure the NSColor class responds to the toolTipColor
selector.
Yes, i HIGHLY reccomend using respondsToSelector:.
-corbin
_______________________________________________
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