Re: Rect of NSView to a NSImage
Re: Rect of NSView to a NSImage
- Subject: Re: Rect of NSView to a NSImage
- From: Peter Sichel <email@hidden>
- Date: Fri, 19 Apr 2002 11:41:13 -0400
At 5:17 PM +0200 4/19/02, David Remahl wrote:
> i want to set a NSImage with a rect from a NSView
NSBitmapImageRep: - (id)initWithFocusedViewRect:(NSRect)rect
From memory...
/ David Remahl
This works fine as long as your view can be focused.
It failed for me since my window had been miniaturized to the Dock.
Any suggestions?
Thanks, - Peter
--
_______________________________________________
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.