• 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
Re: How to get Tool Tip color ? -- Solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to get Tool Tip color ? -- Solved
      • From: Corbin Dunn <email@hidden>
References: 
 >RE: How to get Tool Tip color ? -- Solved (From: "Chen Wang" <email@hidden>)

  • Prev by Date: RE: How to get Tool Tip color ? -- Solved
  • Next by Date: Re: Displaying image and core data
  • Previous by thread: RE: How to get Tool Tip color ? -- Solved
  • Next by thread: Re: How to get Tool Tip color ? -- Solved
  • Index(es):
    • Date
    • Thread