Tiling Windows Vertically

 
Hello. Please I would appreciate any help I can get. I am trying to tile windows vertically in mql4 using only code. I know this is achievable with user32.dll but it’s been a struggle even finding a basic article that can teach a beginner how to work with dlls in MQL. 

I have a code that can tile windows but it does so randomly and not VERTICALLY. If anyone can help, it would be much appreciated. Articles, PDFs, codes, just anything. Thanks 
 
Chioma Obunadike:
Hello. Please I would appreciate any help I can get. I am trying to tile windows vertically in mql4 using only code. I know this is achievable with user32.dll but it’s been a struggle even finding a basic article that can teach a beginner how to work with dlls in MQL. 

I have a code that can tile windows but it does so randomly and not VERTICALLY. If anyone can help, it would be much appreciated. Articles, PDFs, codes, just anything. Thanks 

In your general browser search engine, search for "TileWindows" MT4

It's out there already.

 
Ryan L Johnson #:

In your general browser search engine, search for "TileWindows" MT4

It's out there already.

Yeah yeah. Found that already thanks. After making this post I also found some links attached here and did more research. 
The file in question doesn’t tile vertically anyway, it just tiles it the same way (Altr + R) would do. 
 
Chioma Obunadike #:
Yeah yeah. Found that already thanks. After making this post I also found some links attached here and did more research. 
The file in question doesn’t tile vertically anyway, it just tiles it the same way (Altr + R) would do. 

Assuming you're already able to call the windows into the MQL4 file, have you considered writing a loop with x and y position adders to increment through each window position?

I believe that I've done this with text positions in the past.

 
Ryan L Johnson #:

Assuming you're already able to call the windows into the MQL4 file, have you considered writing a loop with x and y position adders to increment through each window position?

I believe that I've done this with text positions in the past.

Will try this now. Thanks a lot. 
Please do you have any books or sources I could use to learn more about user32.dll. Completely dumbed down for dummies 😅🙏
 
Chioma Obunadike #:
Will try this now. Thanks a lot. 
Please do you have any books or sources I could use to learn more about user32.dll. Completely dumbed down for dummies 😅🙏

You're welcome.

Some very basic user32 info related to C# to get started:  Harnessing the Power of User32.dll in C#

A lengthy list of user32 functions: Functions in user32.dll - AutoIt General Help and Support - AutoIt Forums

I'm no master of MS Visual coding, myself.👶

 

@ Chioma Obunadike, I received an email notification of an Article regarding custom MT5 Services apps. Section 4.2, "Managing charts," seems relevant to tiling windows and user32 is referenced therein.

MQL5 Cookbook — Services - MQL5 Articles

 
Ryan L Johnson #:

@ Chioma Obunadike, I received an email notification of an Article regarding custom MT5 Services apps. Section 4.2, "Managing charts," seems relevant to tiling windows and user32 is referenced therein.

MQL5 Cookbook — Services - MQL5 Articles

Thank you 🫂