Compartilhar via


IVsWindowFrameNotify3.OnMove(Int32, Int32, Int32, Int32) Method

Definition

Notifies the VSPackage that a window is being moved.

public:
 int OnMove(int x, int y, int w, int h);
public:
 int OnMove(int x, int y, int w, int h);
int OnMove(int x, int y, int w, int h);
public int OnMove (int x, int y, int w, int h);
abstract member OnMove : int * int * int * int -> int
Public Function OnMove (x As Integer, y As Integer, w As Integer, h As Integer) As Integer

Parameters

x
Int32

[in] New horizontal position.

y
Int32

[in] New vertical position.

w
Int32

[in] New window width.

h
Int32

[in] New window height.

Returns

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  
);  

Applies to