I create two forms on the same chart and in the end everything is created crookedly, the title of one form takes the place of the title of the other form, while the forms themselves are positioned relative to each other correctly, the feeling that the library mechanism does not provide for the creation of two forms in one chart
Konstantin: I create two forms on the same chart and in the end everything is created crookedly, the title of one form takes the place of the title of the other form, while the forms themselves are positioned relative to each other correctly, it seems that the library mechanism does not provide for the creation of two forms in one chart
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
...
can you think of any other mechanism?
...
I'm not quite sure what exactly is not working.
There is an event identifier (id) and there is an element identifier (lparam), which allows you to differentiate between events. Is this not enough?
I don't quite understand what exactly doesn't work.
There is an event identifier (id) and there is an element identifier (lparam), which allows you to differentiate between events. Is this not enough?
This is how I select an item in the combo box
m_cbox_ev.GetListViewPointer().SelectItem(0);
but how do I set this item in the visible part of the combo box?
This is how I select an item in the combo box
m_cbox_ev.GetListViewPointer().SelectItem(0);
but how do I set this item in the visible part of the combo box?
It should automatically update itself. Try calling ChartRedraw() afterwards.
It should update automatically. Try calling ChartRedraw() afterwards.
doesn't change
Try this:
m_cbox_ev.SelectItem(0);Try this:
Yeah, it worked, thanks.
I create two forms on the same chart and in the end everything is created crookedly, the title of one form takes the place of the title of the other form, while the forms themselves are positioned relative to each other correctly, it seems that the library mechanism does not provide for the creation of two forms in one chart
So far, it's just like the example in this article: Graphical Interfaces IV: Multi-Window Mode and Priority System (Chapter 2).
//---
I'll look at other modes, perhaps in a future update.
So far, only as shown in the example in this article: Graphical Interfaces IV: Multi-Window Mode and Priority System (Chapter 2)
//---
I'll look at other modes, perhaps in a future update.