IViewObjectExImpl::QueryHitPoint

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

See IViewObjectEx::QueryHitPoint in the Win32 SDK.

Remarks

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.

If dwAspect equals DVASPECT_CONTENT, the method returns S_OK. Otherwise, the method returns E_FAIL.

IViewObjectExImpl OverviewClass Members

See Also   IViewObjectExImpl::QueryHitRect