Using Hit Testing

Hit testing is used to determine the result of user input using a mouse or touch screen, and is not currently supported on Windows CE for the Auto PC. Hit testing is accomplished by means of the IASControl::HitTest method. When the form invokes the method, it passes in a set of coordinates that define a rectangle. The HitTest method should return either S_FALSE or NOERROR, depending on whether or not the coordinates fall within the control boundaries.