Download MetaTrader 5

CListView

CListView is a class of the ListView complex control (with dependent controls).

Description

CListView class encapsulates list-control functionality.

Declaration

   class CListView : public CWndClient

Title

   #include <Controls\ListView.mqh>

Class Methods by Groups

Create

 

Create

Creates control

Chart event handlers

 

OnEvent

Event handler of all chart events

Settings

 

TotalView

Sets the number of items shown on the control

Add/Delete

 

AddItem

Adds an item to control list

Data

 

Select

Selects current list element by index

SelectByText

Selects current list element by text

SelectByValue

Selects current list element by value

Read-only data

 

Value

Gets the value of the current list element

Dependent controls

 

CreateRow

Creates a row of the ListView

Internal event handlers

 

OnResize

"Resize" internal event handler (virtual)

Dependent controls event handlers

 

OnVScrollShow

"Show" internal event handler (virtual) of VScroll dependent control

OnVScrollHide

"Hide" internal event handler (virtual) of VScroll dependent control

OnScrollLineDown

"ScrollLineDown" internal event handler (virtual) of VScroll dependent control

OnScrollLineUp

"ScrollLineUp" internal event handler (virtual) of VScroll dependent control

OnItemClick

"ItemClick" internal event handler (virtual)

Redraw

 

Redraw

Redraws the control

RowState

Sets the state of the specified row

CheckView

Checks the "visibility" of the specified row

 


Updated: 2016.06.28