MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

ElliottWaveMakerElliottWaveMaker Try product
ElliottWaveMaker
Author: MRoVas
Subscribe to signal
Automatic system hedging 5 217 12
20.59%, 213 411.16 USD
Alexander Anufrenko: "A danger foreseen is half avoided" (ATC 2010) Alexander Anufrenko: "A danger foreseen is half avoided"... Screenshot
EURUSD, M5
Demo
AutoNK Indicator
AutoNK
Author: Karlson

CComboBox

CComboBox is a class of the ComboBox complex control (with dependent controls).

Description

ComboBox consists of a list box, combined with a static control, intended for selection. The list-box portion of the control may be drop down when the user selects the drop-down arrow next to the control

Declaration

   class CComboBox : public CWndContainer

Title

   #include <Controls\ComboBox.mqh>

Class Methods

Create

 

Create

Creates control

Chart event handlers

 

OnEvent

Event handler of all chart events

Add

 

AddItem

Adds an item

Settings

 

ListViewItems

Sets the number of items, shown on the control

Data

 

Select

Selects current list item by index

SelectByText

Selects current list item by text

SelectByValue

Selects current list item by value

Read-only data

 

Value

Gets the value of the current list item

Dependent controls

 

CreateEdit

Creates dependent control (edit)

CreateButton

Creates dependent control (button)

CreateList

Creates dependent control (list view)

Dependent controls event handlers

 

OnClickEdit

"ClickEdit" event handler (virtual)

OnClickButton

"ClickButton" event handler (virtual)

OnChangeList

"ChangeList" event handler (virtual)

Show/Hide

 

ListShow

Shows the items list

ListHide

Hides the items list

 


Updated: 2012.04.06