Re: NSColorPanel and close box

2015-10-03 Thread Matthias Schmidt
> Am 01.10.2015 um 18:30 schrieb Matthias Schmidt : > > >> Am 30.09.2015 um 17:09 schrieb Matthias Schmidt : >> >> >>> Am 30.09.2015 um 16:11 schrieb Jens Alfke : >>> >>> >>> On Sep 30, 2015, at 12:04 AM, Matthias Schmidt

Re: NSColorPanel and close box

2015-10-01 Thread Matthias Schmidt
> Am 30.09.2015 um 17:09 schrieb Matthias Schmidt : > > >> Am 30.09.2015 um 16:11 schrieb Jens Alfke : >> >> >> >>> On Sep 30, 2015, at 12:04 AM, Matthias Schmidt wrote: >>> >>> while ([NSColorPanel sharedColorPanelExists]) { >>>

Re: NSColorPanel and close box

2015-09-30 Thread Matthias Schmidt
> Am 30.09.2015 um 15:43 schrieb Jens Alfke : > > >> On Sep 29, 2015, at 11:31 PM, Matthias Schmidt wrote: >> >> the host app is 4D, which is about moving to 64bit. > > Oh my god, the database 4D? I had no idea that still existed. The company I > worked

Re: NSColorPanel and close box

2015-09-30 Thread Matthias Schmidt
> Am 30.09.2015 um 16:11 schrieb Jens Alfke : > > > >> On Sep 30, 2015, at 12:04 AM, Matthias Schmidt wrote: >> >> while ([NSColorPanel sharedColorPanelExists]) { >> PA_Yield(); >> } > > Yikes! That looks very suspicious. You shouldn't be

NSColorPanel and close box

2015-09-29 Thread Matthias Schmidt
Hello, it’s been a while :-) I started to rewrite a Plugin from Carbon to Cocoa and I have some trouble with the NSColorPane. The colorPane opens, I can choose any color, change the mode etc, but I can close it only with the ESC key. None of the boxes in the title bar react on a click. Neither

Re: NSColorPanel and close box

2015-09-29 Thread Jens Alfke
What’s the host app? It sounds like something’s going wrong with event dispatching. Or, you’re not using a modal runloop mode, are you? —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator