Skip to content

HitResultConstants

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

ConstantValueDescription
vbHitResultOutside0The point is outside the control's hit-test region.
vbHitResultTransparent1The point is inside the control's bounds but in a transparent area; mouse input passes through to the control behind.
vbHitResultClose2The point is close to the control.
vbHitResultHit3The point is inside the control and should be treated as a hit.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author