- CRect
- CDateTime
- CWnd
- CWndObj
- CWndContainer
- CLabel
- CBmpButton
- CButton
- CEdit
- CPanel
- CPicture
- CScroll
- CScrollV
- CScrollH
- CWndClient
- CListView
- CComboBox
- CCheckBox
- CCheckGroup
- CRadioButton
- CRadioGroup
- CSpinEdit
- CDialog
- CAppDialog
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:
- How to create a graphical panel of any complexity level
- Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient
- Adding a control panel to an indicator or an Expert Advisor in no time
- Create your own graphical panels in MQL5
- Creating active control panels in MQL5 for trading
The sample Expert Advisor, which illustrates the operation of these classes, can be found in MQL5\Expert\Examples\Controls.
Auxiliary structures |
Description |
---|---|
Structure of the rectangular area |
|
Structure for working with date and time |
Base classes |
Description |
---|---|
Base class for all controls |
|
Base class for controls and dialogs |
|
Base class for complex controls |
Simple controls |
Description |
---|---|
Control, based on "Text label" graphic object |
|
Control, based on "Bitmap label" graphic object |
|
Control, based on "Button" graphic object |
|
Control, based on "Edit field" graphic object |
|
Control, based on "Rectangle label" |
|
Control, based on "Bitmap label" |
Complex controls |
Description |
---|---|
Base class of the scroll bar |
|
Vertical scroll bar |
|
Horizontal scroll bar |
|
Base class of the client area with scroll bars |
|
List view |
|
Combo box |
|
Check box |
|
Check group |
|
Radio button |
|
Radio group |
|
Increment/decrement field |
|
Dialog |
|
Main dialog of MQL5 application |