Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NKeyboard Class / CanFocusWindowPeer Method


In This Topic
    CanFocusWindowPeer Method
    In This Topic
    Determines whether the specified target window peer can gain keyboard focus. This method should be called by all implementations of INInputTarget.CanFocus(), after target specific condition checks (such as Enabled, AllowFocus etc.)
    Syntax
    'Declaration
     
    
    Public Shared Function CanFocusWindowPeer( _
       ByVal target As INInputNode _
    ) As System.Boolean
    'Usage
     
    
    Dim target As INInputNode
    Dim value As System.Boolean
     
    value = NKeyboard.CanFocusWindowPeer(target)
    public static System.bool CanFocusWindowPeer( 
       INInputNode target
    )

    Parameters

    target
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also