다음을 통해 공유


FocusHelper.IsKeyboardFocusWithin Method (IntPtr)

Determines whether WPF or Win32 keyboard focus is within the specified HWND.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Public Shared Function IsKeyboardFocusWithin ( _
    hwnd As IntPtr _
) As Boolean
public static bool IsKeyboardFocusWithin(
    IntPtr hwnd
)

Parameters

  • hwnd
    Type: System.IntPtr
    The HWND which may have or contain the focus.

Return Value

Type: System.Boolean
Returns true if the focus is within or contained by the HWND; otherwise returns false.

.NET Framework Security

See Also

Reference

FocusHelper Class

IsKeyboardFocusWithin Overload

Microsoft.VisualStudio.PlatformUI Namespace