Download MetaTrader 5

CScrollH

CScrollH is a class of the "Horizontal scroll bar" complex control.

Description

CScrollH is intended for creation of horizontal scroll bars.

Declaration

   class CScrollH : public CScroll

Title

   #include <Controls\Scrolls.mqh>

Class Methods by Groups

Dependent controls

 

CreateInc

Creates scroll bar increment button

CreateDec

Creates scroll bar decrement button

CreateThumb

Creates scroll bar thumb button (can be dragged)

Internal event handlers

 

OnResize

"Resize" internal event handler

OnChangePos

"ChangePosition" internal event handler

Drag event handlers

 

OnThumbDragStart

"ThumbDragStart" event handler

OnThumbDragProcess

"ThumbDragProcess" event handler

OnThumbDragEnd

"ThumbDragEnd" event handler

Position

 

CalcPos

Gets scroll bar position by coordinate

 


Updated: 2016.06.27