• 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: NSColorPanel and close box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSColorPanel and close box


  • Subject: Re: NSColorPanel and close box
  • From: Matthias Schmidt <email@hidden>
  • Date: Sat, 03 Oct 2015 15:22:05 +0900

> Am 01.10.2015 um 18:30 schrieb Matthias Schmidt <email@hidden>:
>
>
>> Am 30.09.2015 um 17:09 schrieb Matthias Schmidt <email@hidden>:
>>
>>
>>> Am 30.09.2015 um 16:11 schrieb Jens Alfke <email@hidden>:
>>>
>>>
>>>
>>>> On Sep 30, 2015, at 12:04 AM, Matthias Schmidt <email@hidden> wrote:
>>>>
>>>> while ([NSColorPanel sharedColorPanelExists]) {
>>>>     PA_Yield();
>>>> }
>>>
>>> Yikes! That looks very suspicious. You shouldn't be running loops like that in a Cocoa app. AppKit is event driven, so you handle a single event and return.
>>
so that’s not the reason. If I just open the panel and leave the 4D code, the panel behaves the same.

Is there a way I could catch it, when the User is clicking in the closeBox - it actually becomes dark, is just not doing anything?

thanks
Matthias


_______________________________________________

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: 
 >Re: NSColorPanel and close box (From: Matthias Schmidt <email@hidden>)

  • Prev by Date: Re: NSView - trouble setting next responder on 10.10 - works okay on 10.9
  • Next by Date: Re: NSView - trouble setting next responder on 10.10 - works okay on 10.9
  • Previous by thread: Re: NSColorPanel and close box
  • Next by thread: Re: questions on WebView for Mac apps
  • Index(es):
    • Date
    • Thread