Export (0) Print
Expand All

IUIAutomationElement::SetFocus Method

Sets the keyboard focus to this UI Automation element.

Syntax


HRESULT SetFocus(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationElement

Community Additions

Show:
© 2015 Microsoft