IVsUIShellArrangeWindows.ComputeWindowSizeChange(IntPtr, WINDOWPOS[]) Método

Definição

Computa a diferença entre o tamanho atual de uma janela e o novo tamanho descrito em newPos. Essa função é normalmente chamada quando WM_WINDOWPOSCHANGING é recebida, em preparação para chamar 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

Parâmetros

hwnd
IntPtr

O identificador da janela.

newPos
WINDOWPOS[]

As novas posições.

Retornos

SIZE

O HRESULT.

Aplica-se a