Re: NSWindow child window and key status
Re: NSWindow child window and key status
- Subject: Re: NSWindow child window and key status
- From: Ben <email@hidden>
- Date: Tue, 16 Jun 2015 17:56:30 +0100
Thank you for the suggestion, unfortunately it does not fix the problem. I will probably end up using a tech support incident for this one.
- Ben
> On 15 Jun 2015, at 23:50, Quincey Morris <email@hidden> wrote:
>
> On Jun 15, 2015, at 13:38 , Ben <email@hidden <mailto:email@hidden>> wrote:
>>
>> I'm trying to replicate a portion of UI in a manner similar to the formula editor of Numbers. For those not familiar, its a widget that floats above the spreadsheet grid featuring a text view and a button or two.
>>
>> Currently I am using the addChildWindow:ordered: method on NSWindow to add a custom borderless window above the grid view and putting an NSTextView in that window. So far so good.
>
> Have you tried implementing this with a NSPanel? It’s designed (when configured with suitable options) to float over other windows — though not a *specific* other window. It doesn’t take “main” status away from other windows, and takes “key” status away only when firstResponder is actually in one of its views (again when configured that way).
>
_______________________________________________
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