The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IUITechnologyManager::GetFocusedElement Method (IntPtr)
Returns the windows pointer for the element that currently has the focus.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Parameters
- handle
-
Type:
System::IntPtr
The IntPtr for the window that has the focus.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^The element that has the focus, or null if no element has the focus.
Show: