4K displays - Any way to query the windows desktop scaling value ?

 

Hello,

I'm adding support for 4K displays and I have found that the windows desktop scaling has an effect on the text displays and dialogs I have created.

The fixes are simple enough, however the changes need to be kept in line with the value of the desktop scaling size.

Does anyone know if there is a way to query this value from mql4 without resorting to windows dll calls ?  (windows dll calls are off  limits for products released to the market)


If not then we will have to add an input parameter, but that will be quite inconvenient for the users if they change the windows scaling. (Screen Resolution / Make text and other items larger or smaller)


James.