Re: Accessibility issues with NSPopover
Re: Accessibility issues with NSPopover
- Subject: Re: Accessibility issues with NSPopover
- From: Motti Shneor <email@hidden>
- Date: Sat, 12 May 2012 23:25:09 +0300
Thanks Curt, of course I tried that. it is hard to tell when exactly nspopover creates and manipulates its opaque window.
The real problem is, this call can only (hopefully) set the first responder of the popover. It can't make the whole popover active. For that you'd need something like makeKeyAndOrderFront which doesn't work either.
Motti shneor
Senior software engineer & Team leader
Spectrum Reflections Ltd.
Sent from my iPhone
ב-11 במאי 2012, בשעה 19:22, Curt Clifton <email@hidden> כתב/ה:
> 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