Download MetaTrader 5

Open and closing CDialog from another CDialog Expert

To add comments, please log in or register
bluestacks
58
bluestacks  

Hi,


Does anyone here tried to open/close a CDialog with a click of a button on a base CDialog EA?


Thanks...

Doerk Hilger
1190
Doerk Hilger  
blue_stacks:

Hi,


Does anyone here tried to open/close a CDialog with a click of a button on a base CDialog EA?


Thanks...

You should forget it. The control classes are not designed for multithreading. 
ThreadHandle
105
ThreadHandle  

Depends if they're on the same chart then it wouldnt be an issue, you can change focus of the chart, if you've got no pointer to the object though in your base EA then i dont imagine you can.

 

If you want 2 dialogues then yes you can, if you want to manipulate 2 dialogues on 2 charts i doubt it.

Im surprised no ones built a graphic library thats not reliant on chart though.

To add comments, please log in or register