IVsUIShellArrangeWindows::ComputeWindowSizeChange Method (IntPtr, array<WINDOWPOS>^)

 

Computes the difference between a window's current size and the new size described in newPos. This function is typically called when WM_WINDOWPOSCHANGING is received, in preparation for calling CArrangeWindowHelper::Arrange.

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

SIZE ComputeWindowSizeChange(
	IntPtr hwnd,
	array<WINDOWPOS>^ newPos
)

Parameters

hwnd
Type: System::IntPtr

The handle for the window.

newPos
Type: array<Microsoft.VisualStudio.Shell.Interop::WINDOWPOS>^

The new positions.

Return Value

Type: Microsoft.VisualStudio.OLE.Interop::SIZE

The HRESULT.

Return to top
Show: