• 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: Just a single didBecomeMain/didResignMain event being fired
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Just a single didBecomeMain/didResignMain event being fired
      • From: James DiPalma <email@hidden>
    • Re: Just a single didBecomeMain/didResignMain event being fired
      • From: Thilo Ettelt <email@hidden>
References: 
 >Just a single didBecomeMain/didResignMain event being fired (From: Thilo Ettelt <email@hidden>)

  • Prev by Date: Re: Getting Mouse Moved Events
  • Next by Date: Re: understanding NSTextView undo?
  • Previous by thread: Just a single didBecomeMain/didResignMain event being fired
  • Next by thread: Re: Just a single didBecomeMain/didResignMain event being fired
  • Index(es):
    • Date
    • Thread