• 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: Accessibility issues with NSPopover
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessibility issues with NSPopover


  • Subject: Re: Accessibility issues with NSPopover
  • From: Curt Clifton <email@hidden>
  • Date: Fri, 11 May 2012 09:37:54 -0700

On May 10, 2012, at 2:06 AM, Motti Shneor wrote:

> does anybody know how to regain focus on an NSPopover after it lost user focus? (after another window becomes key and main) I could not do it. The only way I found was to close/delete the NSPopover and recreate it. Seems bad solution to me.

Just a guess here, but what happens if you call -[NSWindow makeFirstResponder:] on the window containing the view to which the popover is attached, passing one of the NSResponders from your popover as the argument?

Although NSPopover has its own hidden window, it seems to hide some fairly intimate connections to its host window.

Cheers,

Curt
-----------------------------------------------------------------------------
Curt Clifton, PhD
Software Engineer
The Omni Group
www.curtclifton.net


_______________________________________________

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

  • Prev by Date: Re: architectures that prevent freezing
  • Next by Date: Re: architectures that prevent freezing
  • Previous by thread: Re: Accessibility issues with NSPopover
  • Next by thread: Basic Question
  • Index(es):
    • Date
    • Thread