Re: Custom Cocoa control using Carbon? Possible? Examples?
Re: Custom Cocoa control using Carbon? Possible? Examples?
- Subject: Re: Custom Cocoa control using Carbon? Possible? Examples?
- From: Mel Walker <email@hidden>
- Date: Mon, 11 Aug 2003 10:08:05 -0600
I guess I wasn't clear enough. I can make a custom NSCell that draws
using Cocoa methods; I just can't make one that works well using Carbon
drawing. And I would really like to.
On Monday, August 11, 2003, at 09:29 AM, j o a r wrote:
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.
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.
--
Mel Walker <email@hidden>
Mel Walker <email@hidden>
_______________________________________________
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.