Re: Accessibility issues with NSPopover
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