Control classes without CDialog - How to work with CComboBox(), CListView(), CSpinEdit and so on ... - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
If it works with the panel, there must be a solution how to make it work also without, cause the CDialog is n not a kind of a wizard ;)
Anyway, I am one step further: If I use the debugger, and go through step by step, the List drops down, but when I simply let it run, it does not. WTF? :D I will figure it out ;)
If anybody else is reading this, the reason for these problems with the Controls, when you try to use them outside CDialog is the missing signal processing which CDialog does within the "abstraction" of OnChartEvent(). Rather you make a copy of CDialog and modify it on your own, make it invisble whatever, and then continue your programming on that base instead of trying to reproduce the signal processing itself.
If you do it the way i described it above, you will end in a recursion of the OnChartEvent, because CDialog produces numerous custom events.
I dont know if the article below can answer the problem. But it seem he doesnt use standard library class such as CDialog.
https://www.mql5.com/en/articles/313
I dont know if the article below can answer the problem. But it seem he doesnt use standard library class such as CDialog.
https://www.mql5.com/en/articles/313
Thank you. I studied everything in the meanwhile and dropped all these classes in the meanwhile, because theyre simply not working as they should, theyre buggy and the architecture is not good enough to achieve a good performance and not designed for multithreading.
hi Vladimir,
Would you let me know the reason that we need to remove the folder? i am currently working on my EA and would like to add a ComboBox into it.
hi Vladimir,
Would you let me know the reason that we need to remove the folder? i am currently working on my EA and would like to add a ComboBox into it.
Hi everybody. I'm bumping this thread since I encountered the same problem as OP. I want to use CComboBox (and other complex controls) without CAppDialog and I'm stuck with event processing. I'll probably end up writing my own class based on CDialog/CAppDialog event processing but maybe in the meantime someone has found a way or written such a class and could share it here? Thanks is advance!
You can use C # as a library Form dialog for this and then you call on MT4 / MT5 even the form you created can be run in Tester mode.