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: Jim Correia <email@hidden>
- Date: Wed, 16 Nov 2005 18:00:50 -0500
On Nov 16, 2005, at 5:53 PM, Chen Wang wrote:
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.
Jim
_______________________________________________
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