Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3946-standardlibrary-controls-cscroll-cscrollonthumbdragprocess.md
T
2026-06-23 21:47:51 +08:00

497 B

OnThumbDragProcess

The virtual handler of the control "ThumbDragProcess" event.

virtual bool  OnThumbDragProcess(
   const int  x,     // x coordinate
   const int  y      // y coordinate
   )

Parameters

x

[in]  Current X coordinate of mouse cursor.

y

[in]  Current Y coordinate of mouse cursor.

Return Value

true - event processed, otherwise - false.

Note

The "ThumbDragProcess" occurs when the scroll bar control (thumb button) is moved.