• 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: Drawing the focus ring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing the focus ring


  • Subject: Re: Drawing the focus ring
  • From: Ricky Sharp <email@hidden>
  • Date: Mon, 13 Jun 2005 06:18:36 -0500

On Jun 13, 2005, at 12:19 AM, Sam Wilkins wrote:

I'm having a bit of a problem drawing the focus ring around a custom
view I'm writing. I'm calling setFocusRingType: with
NSFFocusRingExterior in my init method, and
setKeyboardFocusRingNeedsDisplayInRect: with [self frame] at the end
of my drawRect:, but I'm not having any luck. Any help would be
appreciated.

Take a look at the ClockControl example code. It draws the standard keyboard focus around a custom control (view).


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
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: Drawing the focus ring
      • From: Sam Wilkins <email@hidden>
References: 
 >Drawing the focus ring (From: Sam Wilkins <email@hidden>)

  • Prev by Date: Subject: Re: Base-64 decode (was Property List Editor)
  • Next by Date: Re: Stopwatch
  • Previous by thread: Drawing the focus ring
  • Next by thread: Re: Drawing the focus ring
  • Index(es):
    • Date
    • Thread