TCustomShape.CMShapeHitTest procedure
Handles a CM_MASKHITTEST message for the control.
Declaration
procedure CMShapeHitTest(var Message: TCMHitTest); messageArguments
Message | Control message with the parent screen coordinates for the mouse event. |
Description
Converts the parent screen coordinates in Message to client
coordinates for the control. It calls PtInShape and updates the Result member
in Message to indicate whether the mouse click occurred on the interior of the
shape on the control. 0 indicates that the mouse event was inside or on the
Shape. 1 indicates that the event was outside of the area for the Shape.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
