Compartilhar via


IVsWindowFrameNotify3.OnMove Method

Notifies the VSPackage that a window is being moved.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function OnMove ( _
    x As Integer, _
    y As Integer, _
    w As Integer, _
    h As Integer _
) As Integer
int OnMove(
    int x,
    int y,
    int w,
    int h
)
int OnMove(
    [InAttribute] int x, 
    [InAttribute] int y, 
    [InAttribute] int w, 
    [InAttribute] int h
)
abstract OnMove : 
        x:int * 
        y:int * 
        w:int * 
        h:int -> int
function OnMove(
    x : int, 
    y : int, 
    w : int, 
    h : int
) : int

Parameters

  • x
    Type: Int32

    [in] New horizontal position.

  • y
    Type: Int32

    [in] New vertical position.

  • w
    Type: Int32

    [in] New window width.

  • h
    Type: Int32

    [in] New window height.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsWindowFrameNotify3::OnMove(
   [in] int x, 
   [in] int y, 
   [in] int w, 
   [in] int h
);

.NET Framework Security

See Also

Reference

IVsWindowFrameNotify3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace