Re: How to draw keyboard focus ring around a custom control?
Re: How to draw keyboard focus ring around a custom control?
- Subject: Re: How to draw keyboard focus ring around a custom control?
- From: Scott Anguish <email@hidden>
- Date: Thu, 12 May 2005 01:53:38 -0400
On May 11, 2005, at 4:06 PM, Sean McBride wrote:
Hi all,
I have a custom NSView subclass and want to draw a focus ring
around it
when it's first responder. I've searched the archives and web and
found
many conflicting ways of doing it. Most involve a C function
NSSetFocusRingStyle(), which I find weird. I see new in 10.3 is
setFocusRingType: but I don't see anything like drawFocusRing:.
(For the
life of me, I can't find any definitive Apple docs on this subject.
Grr.
Must, resist, ugre to rant :) )
Have a look at the DrawClock example on Apple's site. it's a
great control example that does this, and much other goodness
--
"William Cheeseman ... is said not to be a doofus in real life." -
Roger Ebert, Chicago Sun-Times Online
Scott Anguish
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