On Jun 15, 2015, at 13:38 , Ben <ben_cocoa_dev_l...@yahoo.co.uk> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com