IVsUIShellArrangeWindows.ComputeWindowSizeChange(IntPtr, WINDOWPOS[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.