Open and closing CDialog from another CDialog Expert

 

Hi,


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


Thanks...

 
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. 
 

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.

Reason: