Version

GetHasKeyboardFocus Method

Returns a Boolean value that indicates whether the automation element has keyboard focus.
Syntax
'Declaration
 
Protected Overridable Function GetHasKeyboardFocus() As Boolean
protected virtual bool GetHasKeyboardFocus()
Remarks

The HasKeyboardFocus property has a variant type of VT_BOOL; the default value is FALSE.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also