• 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
turning the focus ring off on 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

turning the focus ring off on 10.2


  • Subject: turning the focus ring off on 10.2
  • From: Edward Hillenbrand <email@hidden>
  • Date: Tue, 9 Aug 2005 10:11:11 -0700

I've made a subclass of NSButton and placed it on a transparent window, I have swapped the content view of the window with my own NSView subclass. When the application runs, there are white lines drawn around two of the button edges, these are outside of the buttons frame rect. I quickly figured out that the only thing that would draw outside of my button's frame rect is a focus ring. On 10.3 and above I can use setFocusRingType: to turn off the focus ring, after that everything draws correctly, there are no white lines. However, the application I'm working on targets 10.2 and I don't want to stop supporting 10.2 because of a single method. Is there away to turn the focus ring off on 10.2?

_______________________________________________
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: turning the focus ring off on 10.2
      • From: Edward Hillenbrand <email@hidden>
  • Prev by Date: NSSegmentedControl seems to leak with the copy protocol
  • Next by Date: Double click binding for NSTextView
  • Previous by thread: Re: NSSegmentedControl seems to leak with the copy protocol
  • Next by thread: Re: turning the focus ring off on 10.2
  • Index(es):
    • Date
    • Thread