Bagikan melalui


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: IntPtr

    The handle for the window.

Return Value

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

.NET Framework Security

See Also

Reference

IVsUIShellArrangeWindows Interface

Microsoft.VisualStudio.Shell.Interop Namespace