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

RE: How to change focus ring color?


  • Subject: RE: How to change focus ring color?
  • From: Squ Aire <email@hidden>
  • Date: Sun, 2 Aug 2009 10:46:27 +0000
  • Importance: Normal

Nonetheless, can you (or someone else in here) tell us what guides and documents we should read in order to be able to make our entirely custom focus rings that draw outside the frame like the default one does? It would be nice to know for future reference. Can it be done entirely with Cocoa Graphics or is something lower level needed?


> You are entirely correct, this has been my experience.
>
> In general it's best to avoid drawing your own focus ring if at all
> possible, there's a fair bit of "magic" going on when you call
> NSSetFocusRingStyle(NSFocusRingOnly) because it draws outside the
> control's frame.
>
> --
> Rob Keniger

_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to change focus ring color?
      • From: Benjamin Dobson <email@hidden>
References: 
 >Re: How to change focus ring color? (From: Alexander Bokovikov <email@hidden>)
 >Re: How to change focus ring color? (From: Graham Cox <email@hidden>)
 >Re: How to change focus ring color? (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: IPhone Textview question
  • Next by Date: Re: NSURLConnection performance on iPhone
  • Previous by thread: Re: How to change focus ring color?
  • Next by thread: Re: How to change focus ring color?
  • Index(es):
    • Date
    • Thread