• 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 ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get Tool Tip color ?


  • Subject: Re: How to get Tool Tip color ?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 16 Nov 2005 13:38:42 -0500

Chen:

You could have any tooltip pop up, then press Cmd-Shift-3 to take a screenshot (so you don't have to move off the tooltip's source). Open the picture on your desktop and use DigitalColor Meter (in your Apps/Utilities folder) to sample the color.

--
I.S.


On Nov 16, 2005, at 1:16 PM, Chen Wang wrote:

Dear list:



In cocoa, is it possible to get that (yellow) color which is being used
as the background of Tool Tip?




I'm trying to build a small custom window which must have the same
background color as tool tip's. I've tried all system colors that the
NSColor class can return, but still out of luck. I know that I can
hardcode the RGB value to something like 0xFEFEC9, but I would prefer to
ask the system for this color, so that I can make it always conformed to
the appearance settings. Any idea?




Thanks in advance!!!



Chen



Confidentiality Notice: This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >How to get Tool Tip color ? (From: "Chen Wang" <email@hidden>)

  • Prev by Date: Re: Password
  • Next by Date: Re: Character for Glyph?
  • Previous by thread: How to get Tool Tip color ?
  • Next by thread: Re: How to get Tool Tip color ?
  • Index(es):
    • Date
    • Thread