Libraries: EasyAndFastGUI library for creating graphical interfaces - page 36

 
Anton Rakhmanov #:
The files are attached in the previous post https://www.mql5.com/ru/forum/225047/page21#comment_49741877

Yes, thank you. I didn't pay attention to it. If Anatoly doesn't reply soon, I'll take a look myself.

 
Artyom Trishkin #:

Yes, thank you. I hadn't noticed. If Anatoly doesn't reply soon, I'll take a look myself.

The question has been removed. I was stupid myself - I did not call the window formation completion event. Although both errors remain.

But anyway, thank you very much for your attention!

 
Anton Rakhmanov #:

The issue has been resolved. I was stupid myself - I did not call the window formation completion event. Although both errors remained.

But anyway, thank you very much for your attention!

So, are the errors still there, or have they gone away? From the content of your post it is not clear whether there is a problem or not.

 
Artyom Trishkin #:

So, are the errors still there, or have they gone away? It is not clear from the content of your post whether there is a problem or not.

There is. Both of them, as in my first post. I also get them when launching the example programme. But it is possible to interact with the windows. I haven't checked all the functionality yet, but filters calculation of % risk, tab switching and progress bar work correctly.
 
Anton Rakhmanov #:
They remain. Both as in my first post. It also gives them when running the example programme. But you can interact with the windows. I haven't checked all the functionality yet, but filters calculation of % risk, tab switching and progress bar work correctly.

You have two files:

Files:

TradePanel.mqh 4 kb

TradeGUI.mq5 2 kb

Where should they be located, which file to compile and run (most likely TradeGUI.mq5) ?

Is Anatoly's library used the first version or the second one from the Market?

 
Artyom Trishkin #:

You have two files:

Where should they be located, which file to compile and run (most likely TradeGUI.mq5) ?

Is Anatoly's library used the first version or the second one from the Market?

TradeGUI.mq5

Most likely, the first version. Downloaded from here: https://www.mql5.com/en/code/19703

 
Anton Rakhmanov #:

The issue has been resolved. I was stupid myself - I did not call the window formation completion event. Although both errors remained.

But anyway, thank you very much for your attention!

What is the "window formation completion" event? How to call it, and where?
 
Artyom Trishkin #:
What is the "window formation completion" event? How to call it, and where?
CWndEvents::CompletedGUI();
Called at the very end of the CreateGUI(void) function
 
Anton Rakhmanov #:
CWndEvents::CompletedGUI();
Called at the very end of the CreateGUI(void) function

Good. Added. Then I run the compiled file and a completely inactive panel appears. Is it the same for you? Or do you have the panel in a working state?

 

OK. I added an event handler to your file that calls the library's event handler. It's alive. With delays, but it came to life.

As a result of parsing Anatoly's codes, I realised that the image size is zero. That's why the resource is not created.

Have you done everything in your code as Anatoly suggests? Or are you doing something arbitrary on your own?