IVsWindowFrameNotify3.OnSize Method

Notifies the VSPackage that a window is being resized.

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


Function OnSize ( _
    x As Integer, _
    y As Integer, _
    w As Integer, _
    h As Integer _
) As Integer
‘사용 방법
Dim instance As IVsWindowFrameNotify3
Dim x As Integer
Dim y As Integer
Dim w As Integer
Dim h As Integer
Dim returnValue As Integer

returnValue = instance.OnSize(x, y, w, h)
int OnSize(
    int x,
    int y,
    int w,
    int h
int OnSize(
    [InAttribute] int x, 
    [InAttribute] int y, 
    [InAttribute] int w, 
    [InAttribute] int h
abstract OnSize : 
        x:int * 
        y:int * 
        w:int * 
        h:int -> int 
function OnSize(
    x : int, 
    y : int, 
    w : int, 
    h : int
) : int


Return Value

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


COM Signature

From vsshell80.idl:

HRESULT IVsWindowFrameNotify3::OnSize(
   [in] int x, 
   [in] int y, 
   [in] int w, 
   [in] int h

.NET Framework Security

See Also


IVsWindowFrameNotify3 Interface

IVsWindowFrameNotify3 Members

Microsoft.VisualStudio.Shell.Interop Namespace