iPhoto and custom shaped window
iPhoto and custom shaped window
- Subject: iPhoto and custom shaped window
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 8 Jan 2002 12:48:02 +0100
iPhoto is using a custom shaped window and the controls (NSSlider,
NSScrollView, not to mention the subclass of NSButton that are used in
the main window) are drawn correctly.
The Apple Sample Code, the Neird Ranch Oval Window Sample Code, and some
code I'm working on are not able to have controls within a Custom shaped
window being drawn correctly and being enabled.
Does someone know how to achieve this? (I made a bug report on this
issue of course since when you're not using the NSBorderLessMask,
everything works perfectly).
Since I've looked inside the ArchiveDocument.nib file, I'm pretty sure
the mechanism used to display the Window Frame is the same one that is
used in the Apple Sample Code.