IVsUIShellArrangeWindows.ComputeWindowSizeChange(IntPtr, WINDOWPOS[]) Method

Definition

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.

public:
 Microsoft::VisualStudio::OLE::Interop::SIZE ComputeWindowSizeChange(IntPtr hwnd, cli::array <Microsoft::VisualStudio::Shell::Interop::WINDOWPOS> ^ newPos);
public Microsoft.VisualStudio.OLE.Interop.SIZE ComputeWindowSizeChange (IntPtr hwnd, Microsoft.VisualStudio.Shell.Interop.WINDOWPOS[] newPos);
abstract member ComputeWindowSizeChange : nativeint * Microsoft.VisualStudio.Shell.Interop.WINDOWPOS[] -> Microsoft.VisualStudio.OLE.Interop.SIZE
Public Function ComputeWindowSizeChange (hwnd As IntPtr, newPos As WINDOWPOS()) As SIZE

Parameters

hwnd
IntPtr

nativeint

The handle for the window.

newPos
WINDOWPOS[]

The new positions.

Returns

The HRESULT.

Applies to