Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMouse Class / ReleaseCapture Method


In This Topic
    ReleaseCapture Method
    In This Topic
    Releases the mouse capture, if the specified input target holds the capture. Any subsequent mouse events send to the DOM for processing will first be processed by the top-most input target below the mouse cursor.
    Syntax
    'Declaration
     
    
    Public Shared Function ReleaseCapture( _
       ByVal target As INInputNode _
    ) As System.Boolean
    'Usage
     
    
    Dim target As INInputNode
    Dim value As System.Boolean
     
    value = NMouse.ReleaseCapture(target)
    public static System.bool ReleaseCapture( 
       INInputNode target
    )

    Parameters

    target

    Return Value

    returns true of the target does not have mouse capture after the operation, otherwise returns false
    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