On Sun, 5 Jul 2009 08:52:12 -0500, Fritz Anderson <fri...@manoverboard.org> said: >On 4 Jul 2009, at 5:41 PM, Matt Neuburg wrote: > >> It is a delightful, yet little-known, fact that sheets can emerge >> from *anywhere* on a window - not merely from its top. ... This is >> unusual but only because (IMHO) not enough developers take advantage >> of this feature! > >More would take advantage if they knew. It's an NSWindow delegate >method called window:willPositionSheet:usingRect:.
Sure - I *said* it was little-known. But the *information* isn't hard to find; there's a chapter of the Sheet Programming Guide devoted to this point: http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Sheets.html It's the chapter called "Positioning Sheets". It's hard to get more up front than that. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com