AutomationElement.FocusedElement on non focused window

Á

Áíôþíçò

Hi,

How would I get the AutomationElement that currently has the focus on a
window that currently does not have the focus?
AutomationElement.FocusedElement does not seem to be doing the trick.

Thanks,
Antoni
 
Á

Áíôþíçò

Nor AutomationElement.Current.HasKeyboardFocus seem to be of much help
either. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top