Classes for Creation of Control Panels and Dialogs
This section contains technical details of working with classes for creation of controls panels and description of the relevant components of the MQL5 standard library.
The use of these classes will save time when creating the control panels for MQL5 programs (Expert Advisors and indicators).
MQL5 Standard Library (in terms of controls) is placed in the client terminal data folder, in the MQL5\Include\Controls.
The example of Expert Advisor, which illustrates the working of these classes can be found in MQL5\Expert\Examples\Controls.
Auxiliary classes
|
Description
|
CPoint
|
Class of the point in Cartesian coordinates
|
CRect
|
Class of the rectangular area
|
Base classes
|
Description
|
CWnd
|
Base class for all controls
|
CWndObj
|
Base class for controls and dialogs
|
CWndContainer
|
Base class for complex controls (containing dependent controls)
|
Simple controls
|
Description
|
CLabel
|
Control, based on "Text label" graphic object
|
CBmpButton
|
Control, based on "Bitmap label" graphic object
|
CButton
|
Control, based on "Button" graphic object
|
CEdit
|
Control, based on "Edit field" graphic object
|
CPanel
|
Control, based on "Rectangle label"
|
CPicture
|
Control, based on "Bitmap label"
|