IUIAutomationElement::CachedHasKeyboardFocus Property
Retrieves a cached value that indicates whether the element has keyboard focus.
Syntax
HRESULT IUIAutomationElement::get_CachedHasKeyboardFocus(BOOL *retVal);
Parameters
- retVal
The address of a variable that receives the value of the cached property: TRUE if the element has keyboard focus, otherwise FALSE.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
UIA_HasKeyboardFocusPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentHasKeyboardFocus