CRgn::PtInRegion

Call this member function to check whether the point given by x and y is in the region stored in the CRgn object.

Syntax

BOOL PtInRegion( int x, int y ) const;

BOOL PtInRegion( POINT point ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CRgn Overview, CRgn Member Functions, Graphical Drawing Object Classes