Re: Global Floating Windows?
Re: Global Floating Windows?
- Subject: Re: Global Floating Windows?
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 21 Jul 2004 19:36:02 +0200
On Jul 21, 2004, at 7:14 PM, Ryan Booz wrote:
Doesn't seem to do it. Thanks.
I also tried a hint I saw on Cocoabuilder.com from a few years ago
that said
to make the window a NSPanel and then check the "Utility Window" along
with
[[self window] setHidesOnDeacivate:NO]. Looked promising, but didn't
work
either.
Hum, it's working perfectly fine on my machine.
/* MainController */
#import <Cocoa/Cocoa.h>
@interface MainController : NSObject
{
IBOutlet id IBwindow_;
}
@end
#import "MainController.h"
@implementation MainController
- (void) awakeFromNib
{
[IBwindow_ setLevel:NSScreenSaverWindowLevel];
}
@end
And a nib with an instance of MainController whose IBwindow_ outlet is
linked to the main window.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.