IVsUIShellArrangeWindows.ComputeWindowSizeChange Method
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)
Syntax
'Declaration
Function ComputeWindowSizeChange ( _
hwnd As IntPtr, _
newPos As WINDOWPOS() _
) As SIZE
SIZE ComputeWindowSizeChange(
IntPtr hwnd,
WINDOWPOS[] newPos
)
SIZE ComputeWindowSizeChange(
[InAttribute] IntPtr hwnd,
[InAttribute] array<WINDOWPOS>^ newPos
)
abstract ComputeWindowSizeChange :
hwnd:IntPtr *
newPos:WINDOWPOS[] -> SIZE
function ComputeWindowSizeChange(
hwnd : IntPtr,
newPos : WINDOWPOS[]
) : SIZE
Parameters
hwnd
Type: IntPtrThe 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.