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: "Sean McBride" <email@hidden>
- Date: Thu, 12 May 2005 10:10:19 -0400
- Organization: Rogue Research
On 2005-05-11 23:29, Alastair Houghton said:
>Yes, although it's a bit counter-intuitive. You need to use
>NSSetFocusRingStyle() to apply a special style to the graphics
>context. For instance:
Thanks to you all. For the benefit of the archives, I'll just say:
- Alastair's method works quite well
- the Apple sample is "Clock Control" not "DrawClock", it does basically
what Alastair suggested but additionally adjusts things by some magic
numbers for some reason.
Chau,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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