Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to get NSImage for NSWindow?




I need to get an NSView of my window, including its frame. At the moment I'm using the undocumented "_borderView" to access the NSWindow's private view. This works great, but I wonder if I'm overlooking an alternate solution that works and is also supported by Apple? I thought about asking for a well-known view, like the zoom button, and then asking for its superview, but that seems more fragile than what I'm doing now.


Perhaps there is some Quartz-level way of getting at the bitmap for an entire window? Any suggestions appreciated.

Daniel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.