IInputObject::HasFocusIO method

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

Syntax

HRESULT HasFocusIO(

);

Parameters

This method has no parameters.

Return Value

Type: HRESULT

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

Requirements

   
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)