/ Published in: Objective C
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
{ // other stuff might happen here if ([self showsFirstResponder]) { // showsFirstResponder is set for us by the NSControl that is drawing us. NSRect focusRingFrame = cellFrame; focusRingFrame.size.height -= 2.0f; [NSGraphicsContextsaveGraphicsState]; NSSetFocusRingStyle(NSFocusRingOnly); } // other stuff might happen here }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)