IInputObject::HasFocusIO method (shobjidl_core.h)

Determines if one of the object's windows has the keyboard focus.

Syntax

HRESULT HasFocusIO();

Return value

Type: HRESULT

Returns S_OK if one of the object's windows has the keyboard focus, or S_FALSE otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.71 or later)