Re: Printing from an NSSplitView
Re: Printing from an NSSplitView
- Subject: Re: Printing from an NSSplitView
- From: Uli Kusterer <email@hidden>
- Date: Fri, 2 Feb 2007 09:42:50 +0100
Am 02.02.2007 um 02:37 schrieb John Goodman:
I've been able to get the app to print, pretty much Auto-Magically
(tm), but I have no control over which of the two views prints. As
luck would have it, the view that prints is the text view, while
I'd prefer to print the graphics.
The "print" message is sent to the first responder, so I guess you
have to make sure your view is the current responder when someone
chooses the Print menu item. Or you can hook up the print menu item
directly to your view, or make some other object handle the print
menu item and forward the call to the view you want to print.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden