CAppDialog issues with EventSetTimer New comment Dark Ryd3r 2021.09.14 23:45 I am using standard library CAppDialog to create a dialog void OnInit() { EventSetTimer(1); } void OnTimer() { // Do Something } When EventSetTimer(1); is set, The panel freezes and becomes unresponsive but when EventSetTimer(5); is set, it works ! How can i make it work on EventSetTimer(1) ? I have also tried it with Sleep(1000) it freezes until value is more than 5000 milliseconds Documentation on MQL5: Standard Library / Panels and Dialogs / CAppDialog / Create www.mql5.com Create(const long,const string,const int,const int,const int,const int,const int) - CAppDialog - Panels and Dialogs - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5 Alexandre Borela 2021.09.15 02:26 #1 Show us the contents of OnTimer. New comment
I am using standard library CAppDialog to create a dialog
When
is set, The panel freezes and becomes unresponsive but when
is set, it works !
How can i make it work on
?
I have also tried it with
it freezes until value is more than
5000
milliseconds