Libraries: EasyAndFastGUI library for creating graphical interfaces - page 11

 
Anatoli Kazharski #:

Yes, of course.

Thanks Anatoli,

I am a happy bunny.

 

New chart objects are being drawn over my window.easyGUI like below - how do I 'BringToFront' my EA Window?


Best of all would be to set it to always be the front.

 
Earthy Stag beetle #:

New chart objects are being drawn over my window.easyGUI like below - how do I 'BringToFront' my EA Window?

Best of all would be to set it to always be the front.

Try this method:

  CCoreEvents::ResetWindow();
  m_chart.Redraw();
 
Anatoli Kazharski #:

Try this method:

Yes, this code does bring the EA window in front of the artefacts. I have a 1 second timer running and I have put the code in the timer handler.

In this situation, it does cause the window to noticeably flash - once per second.

Does this need to be done once at start up or repeatedly?

To be honest, I'd rather put up with the artefacts rather than flashing.

With my best regards, ESB.
 
Earthy Stag beetle #:

Yes, this code does bring the EA window in front of the artefacts. I have a 1 second timer running and I have put the code in the timer handler.

In this situation, it does cause the window to noticeably flash - once per second.

Does this need to be done once at start up or repeatedly?

To be honest, I'd rather put up with the artefacts rather than flashing.

With my best regards, ESB.

This should be done only once, when a trading event occurs (opening or closing a position).

 

Dear Anatoli Kazharski Thank you for your efforts

Please help me to fix the following lines error in Element.mqh file.

m_id = m_wnd.LastId()+1;
m_chart_id = m_wnd.ChartId();
m_subwin = m_wnd.SubwindowNumber();
m_corner = (ENUM_BASE_CORNER)m_wnd.Corner();
m_anchor = (ENUM_ANCHOR_POINT)m_wnd.Anchor(); 

Many thanks

 
siavash shabgahi #:

Dear Anatoli Kazharski Thank you for your efforts

Please help me to fix the following lines error in Element.mqh file.

Many thanks

@siavash shabgahi

In the second version, this issue is completely solved.

 
Anatoli Kazharski #:

@siavash shabgahi

In the second version, this issue is completely solved.

I have downloaded 19703 files, is it not the latest version?
 
siavash shabgahi #:
I have downloaded 19703 files, is it not the latest version?

You downloaded something wrong.

Answered you in personal messages (look in your profile).

 
Anatoli Kazharski #:

You downloaded something wrong.

Answered you in personal messages (look in your profile).

Hi !, i have the same issue as him. I've checked and the problem is that CWindow doesnt have that property, maybe the file is wrong, how did you fixed it ?. Thanks !
Reason: