• 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: notification on windowing being frontmost.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notification on windowing being frontmost.


  • Subject: Re: notification on windowing being frontmost.
  • From: Paul Cezanne <email@hidden>
  • Date: Fri, 4 Oct 2002 13:12:44 -0400

At 1:20 PM +0100 10/4/02, Jeremy Dronfield wrote:
>Your notifications aren't being sent because borderless windows can't become key or main. (It may not be relevant, but this means your window won't receive keyboard events either.) To make this work, you'll have to create an NSWindow subclass for fullScreenWindow and give it this override:
>
>- (BOOL)canBecomeKeyWindow
> {
> return YES;
>}
>
>You might also want to override -canBecomeMainWindow.
>-Jeremy

Oh well, I was hoping to avoid doing that... subclassing... I guess I must then.

But curiously, even though it can't become key nor main, it clearly does become frontmost, isn't that what "main" is?

Thanks.

Paul
_______________________________________________
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: notification on windowing being frontmost. (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: C to Objective-C
  • Next by Date: relaunch Finder...
  • Previous by thread: Re: notification on windowing being frontmost.
  • Next by thread: Re: NSNetService addresses returns empty array
  • Index(es):
    • Date
    • Thread