• 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: Custom Cocoa control using Carbon? Possible? Examples?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Cocoa control using Carbon? Possible? Examples?


  • Subject: Re: Custom Cocoa control using Carbon? Possible? Examples?
  • From: j o a r <email@hidden>
  • Date: Mon, 11 Aug 2003 17:29:33 +0200

The data cell of a table view is a property of the column object. Look in NSTableColumn for the "setDataCell:" method. You need to make sure that the cell properly conforms to NSCopying since the table view sometimes makes copies of the cell.

j o a r

On den 11 augusti 2003, at 16:50:46PM, Mel Walker wrote:

I would like to create a custom control in Cocoa, using the Appearance API calls (like DrawThemePlacard or DrawThemeButton or etc.) to make it look like an actual MacOS X control. It seems obvious to use an NSCell subclass, get the controlView's window and do the drawing. Long story short, I'm having problems integrating these cells into a table view. Does sample code exist to do this? I can't seem to find any, but maybe I'm searching on the wrong words.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Custom Cocoa control using Carbon? Possible? Examples?
      • From: Mel Walker <email@hidden>
References: 
 >Custom Cocoa control using Carbon? Possible? Examples? (From: Mel Walker <email@hidden>)

  • Prev by Date: Re: NSFileManager's enumeratorAtPath can't handle aliases
  • Next by Date: Re: Setting focus to text field in drawer
  • Previous by thread: Custom Cocoa control using Carbon? Possible? Examples?
  • Next by thread: Re: Custom Cocoa control using Carbon? Possible? Examples?
  • Index(es):
    • Date
    • Thread