IVsWindowFrameNotify3::OnSize Method (Int32, Int32, Int32, Int32)

 

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)

int OnSize(
	int x,
	int y,
	int w,
	int h
)

Parameters

x
Type: System::Int32

[in] New horizontal position.

y
Type: System::Int32

[in] New vertical position.

w
Type: System::Int32

[in] New window width.

h
Type: System::Int32

[in] New window height.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsWindowFrameNotify3::OnSize(
   [in] int x, 
   [in] int y, 
   [in] int w, 
   [in] int h
);
Return to top
Show: