HitResultConstants

Return values from a UserControl’s HitTest event, telling the host how the supplied point relates to the control.

Constant Value Description
vbHitResultOutside 0 The point is outside the control’s hit-test region.
vbHitResultTransparent 1 The point is inside the control’s bounds but in a transparent area; mouse input passes through to the control behind.
vbHitResultClose 2 The point is close to the control.
vbHitResultHit 3 The point is inside the control and should be treated as a hit.