• 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: Draw firstResponder status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draw firstResponder status


  • Subject: Re: Draw firstResponder status
  • From: Gerard Iglesias <email@hidden>
  • Date: Sat, 7 Jul 2001 09:19:01 +0200

For the one that would be interested by the answer.

Is there a standard way to show firstResponder status, I am thinking
about the gray rectangle surrounding the textField control, is it an
hideous hack that display in the superview, what happens if the
superview draw exactly at the frontier of the first responder?

Well, after some investigation, the firstResponder status of a
NSTextField is made with the help of specialized class
_NSKeyboardFocusClipView:

I displayed the view hierarchy when the text field is focused:

NSTextField
_NSKeyboardFocusClipView
NSTextView


Regards.

Girard

PS: Why does the e acute of my first name is is shown as a i when I
receive the message from the maillist???


References: 
 >Draw firstResponder status (From: Gerard Iglesias <email@hidden>)

  • Prev by Date: interfacing c++ -> cocoa/aqua
  • Next by Date: Re: XP discussion
  • Previous by thread: Draw firstResponder status
  • Next by thread: interfacing c++ and cocoa/aqua
  • Index(es):
    • Date
    • Thread