Udostępnij za pośrednictwem


IVsWindowFrameNotify3.OnSize(Int32, Int32, Int32, Int32) Method

Definition

Notifies the VSPackage that a window is being resized.

public:
 int OnSize(int x, int y, int w, int h);
public:
 int OnSize(int x, int y, int w, int h);
int OnSize(int x, int y, int w, int h);
public int OnSize (int x, int y, int w, int h);
abstract member OnSize : int * int * int * int -> int
Public Function OnSize (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::OnSize(  
   [in] int x,   
   [in] int y,   
   [in] int w,   
   [in] int h  
);  

Applies to