Re: How to make a window element focusable?


Lukasz Golonka
 

On Wed, 13 Jan 2021 14:05:13 -0800
"Oleksandr Gryshchenko" <kita.zup+groups@gmail.com> wrote:
Thank you for suggesting a way to access message headers.
I tried to force focus directly from the event_loseFocus() method, but it's a bad solution... and it didn't work.

For some discussion regarding similar issue please take a look at:
https://github.com/nvaccess/nvda/issues/5960

Also Derek Riemer did something similar in his Notepad++ add-on. This is
not in the code since Npp was changing too rapidly breaking the fix with
every update, but for a sample implementation you can take a look at:
https://github.com/derekriemer/nvda-notepadPlusPlus/commit/547cd2ab39836462d73e87b75e4a3cd41a8c835c


--
HTH
Lukasz

Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.