Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NWindow Class / GetFocusedWindowIfNull Method


In This Topic
    GetFocusedWindowIfNull Method
    In This Topic
    Returns the given window if not null or the currently focused window if the given one is null.
    Syntax
    'Declaration
     
    
    Public Shared Function GetFocusedWindowIfNull( _
       ByVal window As NWindow _
    ) As NWindow
    'Usage
     
    
    Dim window As NWindow
    Dim value As NWindow
     
    value = NWindow.GetFocusedWindowIfNull(window)
    public static NWindow GetFocusedWindowIfNull( 
       NWindow window
    )

    Parameters

    window
    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