CWnd::WindowFromPoint

This method retrieves the window that contains the specified point. The point argument must specify the screen coordinates of a point on the screen.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

static CWnd* PASCAL WindowFromPoint( POINT point );

See Also

CWnd::ChildWindowFromPoint