Retrieves a value that specifies whether the point is contained in the Dynamic HTML (DHTML) behavior.
Syntax
HRESULT HitTestPoint( POINT *pPoint, IUnknown *pReserved, BOOL *pbHit );
Parameters
- pPoint
- [in] Address of a POINT structure that specifies the point to be tested.
- pReserved
- [in] Reserved for future use.
- pbHit
- [out] Address of a Boolean value that returns TRUE if the point indicates a hit.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Use this method to provide accurate hit testing for irregularly shaped objects.
You must return the BEHAVIORRENDERINFO_HITTESTING flag from the IElementBehaviorRender::GetRenderInfo method to participate in hit testing.
Note This method is available as of Microsoft® Internet Explorer 5 and is subject to change in future versions.