• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Global Floating Windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Global Floating Windows?


  • Subject: Re: Global Floating Windows?
  • From: Ryan Booz <email@hidden>
  • Date: Wed, 21 Jul 2004 14:21:01 -0400

I apologize - I set up my controller wrong when trying this. Thanks for the
example, as it helped me get it working! Slowly, slowly coming along with
Cocoa... :-).

Ryan


On 7/21/04 1:36 PM, "Stiphane Sudre" <email@hidden> wrote:

> 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.
>
>

------------
Ryan J. Booz
Research Programmer
Penn State University
Information Technology Services
TLT/CLC
email@hidden
_______________________________________________
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.


References: 
 >Re: Global Floating Windows? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Problems with NSTextField and attributed strings
  • Next by Date: Re: ByHost Preferences
  • Previous by thread: Re: Global Floating Windows?
  • Next by thread: Using NSStream fails
  • Index(es):
    • Date
    • Thread