• 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: NSWindow child window and key status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow child window and key status


  • Subject: Re: NSWindow child window and key status
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 15 Jun 2015 22:50:59 +0000

On Jun 15, 2015, at 13:38 , Ben <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


  • Follow-Ups:
    • Re: NSWindow child window and key status
      • From: Ben <email@hidden>
References: 
 >NSWindow child window and key status (From: Ben <email@hidden>)

  • Prev by Date: NSWindow child window and key status
  • Next by Date: Goodbye and Thanks for All The Code
  • Previous by thread: NSWindow child window and key status
  • Next by thread: Re: NSWindow child window and key status
  • Index(es):
    • Date
    • Thread