• 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: sheet not receiving all events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sheet not receiving all events?


  • Subject: Re: sheet not receiving all events?
  • From: Torsten Curdt <email@hidden>
  • Date: Sat, 17 Sep 2011 12:38:12 +0200

>> Any ideas why that is the case? A bug?
>
> From the NSWindow docs:
>
>> canBecomeKeyWindow
>> Indicates whether the window can become the key window.
>>
>> - (BOOL)canBecomeKeyWindow
>> Return Value
>> YES if the window can become the key window, otherwise, NO.
>>
>> Discussion
>> Attempts to make the window the key window are abandoned if this method returns NO. The NSWindow implementation returns YES if the window has a title bar or a resize bar, or NO otherwise.

Wasn't aware of that depends on the title bar and resize bar.

Thanks, Ken!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >sheet not receiving all events? (From: Torsten Curdt <email@hidden>)
 >Re: sheet not receiving all events? (From: Jens Alfke <email@hidden>)
 >Re: sheet not receiving all events? (From: Torsten Curdt <email@hidden>)
 >Re: sheet not receiving all events? (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: sheet not receiving all events?
  • Next by Date: why does print block in Lion?
  • Previous by thread: Re: sheet not receiving all events?
  • Next by thread: Re: sheet not receiving all events?
  • Index(es):
    • Date
    • Thread