COleControl::OnQueryHitPoint

This method is called by the framework in response to a container's IViewObjectEx::QueryHitPoint request. Queries whether an object's display rectangle overlaps the specified point (hits the point). QueryHitPoint can be overridden to test hits for non-rectangular objects.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual BOOL OnQueryHitPoint( DWORD dwAspect,
LPCRECT
pRectBounds, POINT ptlLoc, LONG lCloseHint,
DWORD*
pHitResult );

See Also

COleControl::OnQueryHitRect