COleControl::OnQueryHitPoint

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

Syntax

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

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, COleControl::OnQueryHitRect