User32PtInRect(NativeRectangle, NativePoint) Method
Determines whether the specified point lies within the specified rectangle.
A point is within a rectangle if it lies on the left or top side or is within all four sides.
A point on the right or bottom side is considered outside the rectangle.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- refRect NativeRectangle
-
A pointer to a NativeRectangle structure that contains the specified rectangle.
- pt NativePoint
-
A NativePoint structure that contains the specified point.
Boolean
If the specified point lies within the rectangle, the return value is
.
If the specified point does not lie within the rectangle, the return value is