Set window background color

 

Dear All,

is there a possibility to change the window background color with a mql4 script? I have found in the forum some possibilities to draw a rectangle in another color, but this is not what I mean. I need to change the color of the background.

Thank you very much for your Help

 

 
Why do you "need to change the color?"
  1. Draw a background rectangle
  2. Apply a template (could be done with a postMessage)
 

or save a template with the right colors u want,

then load the template with PostMessageA or SendMessageA

 

Unfortunately I can't use the solution with the template, because I have always different indicators in the window.

 

@WHRoeder

 

how did you mean this with “Draw a background rectangle”? Did you mean a normal rectangle with needed colour? Or is there an another possibility to create an rectangle for the background?

 
OBJPROP_BACK 9 Boolean value to set/get background drawing flag for object.
 

I would try the way with the PostMessageA or SendMessageA and user32.dll. Unfortunately I do not have much experience with use of dlls. Do you have some scripts, where I can see how I can use PostMessageA or SendMessageA in the context with templates?

Thanks a lot

 
Thank you!
Reason: