Click or drag to resize

Win32WindowMapPoints Method

Converts (maps) a set of points from a coordinate space relative to this window to a coordinate space relative to another window.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public IReadOnlyList<POINT> MapPoints(
	IntPtr handleTo,
	IEnumerable<POINT> points
)

Parameters

handleTo
Type: SystemIntPtr
A handle to the window to which points are converted. If this parameter is Zero or HWND_DESKTOP, the points are converted to screen coordinates.
points
Type: System.Collections.GenericIEnumerablePOINT
A list of POINTs that contain the set of points to be converted. The points are in device units.

Return Value

Type: IReadOnlyListPOINT
A list of converted POINTs. If the function failed, the list is empty.
See Also