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


In This Topic
    GetTopMostWindow Method (NWindow)
    In This Topic
    Gets the top most window that is under the specified screen pos.
    Syntax
    'Declaration
     
    
    Public Function GetTopMostWindow( _
       ByVal screenPos As NPoint _
    ) As NWindow
    'Usage
     
    
    Dim instance As NWindow
    Dim screenPos As NPoint
    Dim value As NWindow
     
    value = instance.GetTopMostWindow(screenPos)
    public NWindow GetTopMostWindow( 
       NPoint screenPos
    )

    Parameters

    screenPos
    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