diff --git a/lcl/include/wincontrol.inc b/lcl/include/wincontrol.inc index 9e3274c315..97ea051a89 100644 --- a/lcl/include/wincontrol.inc +++ b/lcl/include/wincontrol.inc @@ -8136,7 +8136,7 @@ begin begin // don't allow disabled and don't search wincontrols - they receive their // message themself - Child := ControlAtPos(ScreenToClient(SmallPointToPoint(Message.Pos)), []); + Child := ControlAtPos(ScreenToClient(SmallPointToPoint(Message.Pos)), [capfHasScrollOffset]); if Assigned(Child) then with Message do begin