Skip to content

Panels and Dialogs

Classes for Creating Control Panels and Dialogs

This section contains technical details of working with classes for creation of controls panels and dialogs, as well as description of the relevant components of the MQL5 standard library.

The use of these classes will save time when developing custom interactive MQL5 applications, including Expert Advisors and indicators.

MQL5 Standard Library (in terms of classes for creation of control panels and dialogs) is placed in the terminal data folder, in the MQL5\Include\Controls.

Find the examples of working with classes in the following articles:

The sample Expert Advisor, which illustrates the operation of these classes, can be found in MQL5\Expert\Examples\Controls.

Auxiliary structuresDescription
CRectStructure of the rectangular area
CDateTimeStructure for working with date and time
Base classesDescription
CWndBase class for all controls
CWndObjBase class for controls and dialogs
CWndContainerBase class for complex controls
Simple controlsDescription
CLabelControl, based on “Text label” graphic object
CBmpButtonControl, based on “Bitmap label” graphic object
CButtonControl, based on “Button” graphic object
CEditControl, based on “Edit field” graphic object
CPanelControl, based on “Rectangle label”
CPictureControl, based on “Bitmap label”
Complex controlsDescription
CScrollBase class of the scroll bar
CScrollVVertical scroll bar
CScrollHHorizontal scroll bar
CWndClientBase class of the client area with scroll bars
CListViewList view
CComboBoxCombo box
CCheckBoxCheck box
CCheckGroupCheck group
CRadioButtonRadio button
CRadioGroupRadio group
CSpinEditIncrement/decrement field
CDialogDialog
CAppDialogMain dialog of MQL5 application
Last updated on