IASControl::HitTest

This method tests whether coordinates fall within a control.

Syntax

HRESULT HitTest( long lx, long ly );

Parameters

lx
Long integer that contains the x-coordinate.
ly
Long integer that contains the y-coordinate.

Return Values

NOERROR indicates that the hit text succeeded. S_FALSE indicates that the hit test failed. If an error occurs, the appropriate HRESULT value is returned.