| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
At 13:05 Uhr -0800 30.03.2004, m wrote:
SetWindowClass((WindowRef)[mFloater windowRef], kFloatingWindowClass);
(mFloater in this case is a pre-existing NSPanel instantiated from the Nib file.) In this instance, I got a floating window that still floats above all app windows.
Okay, then it looks like I simply remembered something of the way it worked in OS 9. This definitely used to work this way in Carbon, but I guess they don't have any application-specific layers in OS X anymore. I see one more venue to investigate:
Use setLevel: to move your window into the document layer, and use a category to replace orderFront: and any other window-order-changing methods with a method that does the same as orderFront: (never done this, but I heard it is messy because you need to get the IMP of the original method to be able to call it and only *then* load the category, e.g. from a bundle) and afterwards sends all your floaters an orderFront: as well.
| References: | |
| >classic floating window behavior? (From: m <email@hidden>) | |
| >Re: classic floating window behavior? (From: "M. Uli Kusterer" <email@hidden>) | |
| >Re: classic floating window behavior? (From: "M. Uli Kusterer" <email@hidden>) | |
| >Re: classic floating window behavior? (From: m <email@hidden>) | |
| >Re: classic floating window behavior? (From: "M. Uli Kusterer" <email@hidden>) | |
| >Re: classic floating window behavior? (From: m <email@hidden>) | |
| >Re: classic floating window behavior? (From: "M. Uli Kusterer" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.