• 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
[SOLVED] Re: Disabling NSTableView's big black editing box?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: Disabling NSTableView's big black editing box?


  • Subject: [SOLVED] Re: Disabling NSTableView's big black editing box?
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 28 Feb 2005 11:14:12 -0700

Thanks to アンドレ for trying to help me solve this problem.

I looked into it some more, and found that the black editing box _is_ being drawn by NSTableView; -[NSTableView drawRect:] calls NSFrameRect() when a cell is being edited and the window is not key. I "fixed" this by overriding -drawRect: so that it manually calls -drawRow:clipRect: on every visible row when the window is not key.

File this one under "Hacks R Us" but it works for what I want to do with the table view...

Nick Zitzmann
<http://www.chronosnet.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


References: 
 >Disabling NSTableView's big black editing box? (From: Nick Zitzmann <email@hidden>)
 >Re: Disabling NSTableView's big black editing box? (From: アンドレ(Andre) <email@hidden>)
 >Re: Disabling NSTableView's big black editing box? (From: Nick Zitzmann <email@hidden>)
 >Re: Disabling NSTableView's big black editing box? (From: アンドレ(Andre) <email@hidden>)

  • Prev by Date: Re: Changing the image for a NSButtonCell (radio button style)
  • Next by Date: Obtaining keyboard rate & delay metrics
  • Previous by thread: Re: Disabling NSTableView's big black editing box?
  • Next by thread: RE: NSTextView layout - less efficient when loaded from file?
  • Index(es):
    • Date
    • Thread