| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
So I tried creating a window using the Carbon API's in my awakeFromNib method thusly:
OSStatus status = CreateNewWindow (kFloatingWindowClass, kWindowStandardFloatingAttributes, &bounds, &windowRef);
if (status == noErr)
{
mFloater = [[NSWindow alloc] initWithWindowRef:windowRef];
[mFloater orderFront:self];
}
The result was a window that did not float above my app windows or any other apps windows. In fact, it didn't respond to clicking at all. Must be more to it, eh?
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.
| 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>) |
| 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.