• 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 a NSTextField bezel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing a NSTextField bezel


  • Subject: Re: Drawing a NSTextField bezel
  • From: Daniel Jalkut <email@hidden>
  • Date: Sun, 26 Sep 2004 23:02:46 -0700

Stéphane Sudre wrote:

Is there a better way than using the hidden API _drawThemeBezelWithFrame:inView: which works fine as long as you are dealing with a NSTextFieldCell subclass?

Subclass NSTextFieldCell, override "drawInteriorWithFrame" to do nothing, and ask the subclass to "drawWithFrame." That way, you're taking advantage of public methods with fairly predictable expectations for their behavior.


Daniel

_______________________________________________
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 a NSTextField bezel
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: Drawing a NSTextField bezel (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: NSTableView setAutosaveTableColumns not working with removeTableColumn or addTableColumn
  • Next by Date: Re: Drawing a NSTextField bezel
  • Previous by thread: Re: Drawing a NSTextField bezel
  • Next by thread: Re: Drawing a NSTextField bezel
  • Index(es):
    • Date
    • Thread