IViewObjectExImpl::QueryHitPoint

This method checks if the specified point is in the specified rectangle and returns a HITRESULT value in pHitResult. The value can be either HITRESULT_HIT or HITRESULT_OUTSIDE.

Syntax

HRESULT QueryHitPoint( DWORD dwAspect, LPCRECT pRectBounds, POINT ptlLoc, LONG lCloseHit, DWORD* pHitResult );

At a Glance

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

See Also

IViewObjectExImpl Overview, IViewObjectExImpl Methods, IViewObjectEx::QueryHitPoint, IViewObjectExImpl::QueryHitRect