CAppDialog bugs

 

Hi,

since a long time, there are some serious bugs inside the CAppDialog class included with MT4


For exemple:

https://www.mql5.com/en/forum/189473


I've fixed many, for exemple position change when minimized, also added the support in order to not work only on main graph window (0) in EA


A CAppDialog based panel can be created from an Expert Advisor or from an indicator. However, the creation of the panel may differ depending on the type of the program (Expert Advisor or indicator) which creates the panel and the subwindow the program is running in:

If a program is an Expert Advisor (the type of the running program is PROGRAM_EXPERT), then the panel is ONLY created in the main window (the window index is "0") and only using the CAppDialog::CreateExpert method.
If a program is an indicator (the type of the running program is PROGRAM_INDICATOR), then the number of the window, in which the program is running is checked:
if it is the main window (the window number is 0), the panel is created using the CAppDialog::CreateIndicator method
if it is a subwindow, the panel is created using the CAppDialog::CreateExpert method



Is there an updated version of CAppDialog sources for MT4 somewhere ? ( as it is not fixed within MT4 updates )


Thanks

CAppDialog create problem when the timeframe change ( from an Example of Metaquotes)
CAppDialog create problem when the timeframe change ( from an Example of Metaquotes)
  • 2017.04.05
  • www.mql5.com
Hi! The following code is an example of metaquotes...
Reason: