Re: notification on windowing being frontmost.
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.