Re: Printing the header of an NSOutlineView
Re: Printing the header of an NSOutlineView
- Subject: Re: Printing the header of an NSOutlineView
- From: Frank Midgley <email@hidden>
- Date: Mon, 17 May 2004 15:17:27 -0500
On May 11, 2004, at 12:45AM, Joseph Jones wrote:
I am having a problem with printing my NSOutlineView. It seems that the
header never prints on the view no matter what I do and it is driving
me
crazy. My print outs have a really nice outline view, but no headers
to tell
anyone what the columns are.
NSScrollView takes care of drawing the header view on screen, not the
outline view. If a scroll's view document view responds to -headerView
then it will display the returned view (likewise for the corner view).
If you're printing the NSOutlineView directly (which is the scroll
view's document view) then there is nothing handling the header view.
You could do this yourself by rendering the header view and then the
outline view directly below it.
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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.