Re: Just a single didBecomeMain/didResignMain event being fired
Re: Just a single didBecomeMain/didResignMain event being fired
- Subject: Re: Just a single didBecomeMain/didResignMain event being fired
- From: "Kenneth C. Dyke" <email@hidden>
- Date: Sat, 28 Dec 2002 18:00:10 -0800
You will probably have to subclass NSWindow such that
-canBecomeMainWindow returns YES. The default for NSBorderless windows
seems to return NO.
-Ken
On Saturday, December 28, 2002, at 03:09 PM, Thilo Ettelt wrote:
Hey folks!
I have a problem with a NSBorderless (custom shaped) window. In my
controller, which is the window's delegate, i've put an NSLog between
the brackets of '-windowDidResignMain' and '-windowDidBecomeMain'. But
the NSLogs are doing their job just once - when the window has been
openend and when i switched to a different window. When I switch back:
no more windowDidBecomeMain event. And then again: no
windowDidResignMain event.
What's wrong there?
- Thilo
_______________________________________________
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.
Kenneth Dyke, email@hidden (personal), email@hidden (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++ is to C as Lung Cancer is to Lung
_______________________________________________
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.