Topics
Replies

MehranFX
02 Nov 2014, 06:40 ( Updated at: 23 Jan 2024, 13:16 )

RE:

Elogos said:

Got it!

CreateWindow method in this code from the MT4 to cAlgo library.

The dialog box that is available in MT4 can be replicated using an WPF window.

That code is how they did it.

 

I have adapted it in the past before for my use for an old Stochastic alert dashboard thing that I did which since has slipped out of usage. I will keep digging to find the code, but I think that above should suffice.

 

It can be found here fully:

/forum/indicator-support/3283

 

[Elogos !]

You Are Great Man! Thanks a lot ! I will work on it.

Cheers ....


@MehranFX

MehranFX
01 Nov 2014, 21:25

RE: RE:

Elogos said:

Elogos said:

Might be do with the thread the form was created in.

I'll have a look when I get a bit of time.

Yep, it is created in the cTrader main thread and Show() isn't returning.

I have some developers notes somewhere from a Spotware developer on creating a new WPF Window. I'll see if I can dig them up somewhere.

Thanks Elogos , I'm waiting for you!

with regards...


@MehranFX