Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "WindowFromPoint" in [All]

Enums

.

/// For use with ChildWindowFromPointEx

.

public enum WindowFromPointFlags

.

Enum ChildWindowFromPointFlags

.
Documentation
[ChildWindowFromPointFlags] on MSDN
.

    ''' or in response to a call to a function such as <c>WindowFromPoint</c>.

psapi

.

IntPtr hWnd = WindowFromPoint(pt);

user32

.
Summary
.

static extern IntPtr ChildWindowFromPointEx(IntPtr hWndParent, Point pt, uint uFlags);

.

Public Function ChildWindowFromPointEx(ByVal hWndParent As IntPtr, ByVal P As POINTAPI, ByVal uFlags As CWPFlags) As IntPtr

.

ChildWindowFromPointFlags Enum

.
Documentation
[ChildWindowFromPointEx] on MSDN
.
Summary
.

static extern IntPtr ChildWindowFromPointEx(IntPtr hWndParent, Point pt, uint uFlags);

.

Public Function ChildWindowFromPointEx(ByVal hWndParent As IntPtr, ByVal P As POINTAPI, ByVal uFlags As CWPFlags) As IntPtr

.

public enum ChildWindowFromPointFlags : uint

.
Documentation
[ChildWindowFromPointEx] on MSDN
.

Useful to force a redraw when you don't have control of the area, when using WindowFromPoint() for example. If you do have control of the object, you can called the managed Control.Invalidate()

.

IntPtr hWnd = WindowFromPoint(pt);

.
Summary
.

static extern IntPtr RealChildWindowFromPoint(IntPtr hwndParent, POINT ptParentClientCoords);

.

Private Shared Function RealChildWindowFromPoint(hwndParent As IntPtr, ptParentClientCoords As POINT) As IntPtr

.

<DllImport("user32", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> Public Function RealChildWindowFromPoint(ByVal hwndParent As IntPtr, ByVal ptParentClientCoords As POINTAPI) As IntPtr

.
Documentation
[RealChildWindowFromPoint] on MSDN
.
Summary
.

static extern IntPtr WindowFromPoint(System.Drawing.Point p);

.

Private Shared Function WindowFromPoint(ByVal p As Point) As IntPtr

.

class method WindowFromPoint(aPoint: System.Drawing.Point): IntPtr; external;

.

The WindowFromPoint function retrieves a handle to the window that contains the specified point.

.

   IntPtr hWnd = WindowFromPoint(p);


 
Access PInvoke.net directly from VS: