Download MetaTrader 5

CScrollV

CScrollV is a class of the "Vertical scroll bar" complex control.

Description

CScrollV class is intended for creation of vertical scroll bars.

Declaration

   class CScrollV : 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