Libraries: EasyAndFastGUI library for creating graphical interfaces - page 38

 
A_2017 #:

Artem, thank you for your support!

I figured it out. It turned out to be a long path to the .mq5 and .mqh files

In the case of the example of the final version of EasyAndFast library it was like this:

MQL5

- Experts

- Very____Previous_____Long ____ Directory name ____

- ExampleEAF.mq5

- MainWindow.mqh

- Programme.mqh


Reduced the directory name - everything worked. Maybe it will be useful to someone.

Thanks.
 
Odessa Kaiju #:

Hello Anatoli,

When will the EasyAndFastGUI 2.0 be back on the market though? I really need the updated version of this library.

Thanks

Hello!

Unfortunately, the latest version of this library will not be available in the near future.

I recommend developing your own solutions or trying to find alternatives.

 

Hello Anatoli.

Many thanks for the Easy and Fast GUI library. It's great, thanks to it I was able to build a great piece of gui for my trading ea.

Currently, I'm struggling with a use case where I have a CStandardChart chart, I display my own objects generated from ea code, and it's ok.

However, sometimes I need to be able to draw manually a line, checking the distance in points, or draw fibo. Just like you can do on a native chart.

Do you have some patterns, examples of approach or even could you please suggest something? Thank you in advance.

 

Hey Anatoli,

I have had a number of people contact me wanting your source code -I have obviously refused.

I'd like you to know there is still a market for your library, and it does get the thumbs up from me.

Wishing you well,

With my best regards, ESB.

 
The only downside right now is, that the version 2 is not available in the market anymore. I would like to use it for my MT4 EA. And I would like to have these examples shown available for MT4 as well.
 
I'm creating a second window for my task, unfortunately i can't realtime move this second window, any ideas
...
   CWindow           m_window;
   CWindow           m_win2;
...


   if(!CWndCreate::CreateWindow(m_window,"Main Window",1,29,170,320,false,false,true,true))
      return(false);

   if(!CWndCreate::CreateDialogWindow(m_win2, "Second window", 310, 200, 200, 200))
      return(false);
 
unavailable
 

Hey.

The second window I am creating is not movable and clickable or at least not redrawed correctly.

Function for creating the second window:

bool CProgram::CreateSettings(void)
  {
   CWndContainer::AddWindow(m_windowSettings);

   int x=(m_windowSettings.X()>0) ? m_windowSettings.X() : 1;
   int y=(m_windowSettings.Y()>0) ? m_windowSettings.Y() : 20;
//--- Properties
   m_windowSettings.XSize(160);
   m_windowSettings.YSize(360);
//--- Creating the form
   if(!m_windowSettings.CreateWindow(m_chart_id,m_subwin,"Options",x,y))
      return(false);
//---
   return(true);
  }

''Other gui elements''



m_settings.WindowPointer(m_windowSettings);
CreateSettings();
CWndEvents::CompletedGUI();

if(lparam==m_settings.Id()){

         m_windowSettings.Show();
         m_chart.Redraw();

         Print(m_chart.WindowsTotal());
         Print(m_windowSettings.IsVisible());
 Print(m_windowSettings.IsMovable());
 Print(m_windowSettings.IsAvailable());        

     }

I really appreciate is someone could tell me what is wrong.

 
How to use it in an indicator? Can you give me an example of the code?
I copy the code from the example on the Expert Advisor, but the graphic is missing.
 
Александр Сербин #:
How to use it in an indicator? Can you give me an example of the code?
I copy the code from the example on the Expert Advisor, but the chart disappears.

The reason was too long indicator name. The name is copied into the variable name and then gives an error) With a short name everything works.