MQL5: Get display panel resolution

 
Hi

Does anyone have a reference or a suggestion how I could get the current resolution of the display panel the terminal is currently open on?

Thanks in advance :)
 
Does anyone have a solution concerning windows scaling? When the scaling in windows is set to 100% the mql panel objects respond well on different devices with varying DPI's. When you set the scaling to 150% the scaling doesn't respond well because it is still trying to scale to the native settings. Everything would look too large and out of proportion then.

Any ideas how to go about this?