User32WindowFromPoint(NativePoint) Method
Retrieves a handle to the window that contains the specified point.
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.
[DllImportAttribute("User32.dll", SetLastError = true)]
public static IntPtr WindowFromPoint(
NativePoint pt
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function WindowFromPoint (
pt As NativePoint
) As IntPtr
Dim pt As NativePoint
Dim returnValue As IntPtr
returnValue = User32.WindowFromPoint(pt)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static IntPtr WindowFromPoint(
NativePoint pt
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member WindowFromPoint :
pt : NativePoint -> IntPtr
No code example is currently available or this language may not be supported.
- pt NativePoint
-
The point to be checked.
IntPtr
The return value is a handle to the window that contains the point.
If no window exists at the given point, the return value is
Zero.
If the point is over a static text control, the return value is a handle to the window under the static text control.