Hi, First of all I hope this forum doesn't forbidden pumping old threads. I have checked the value returned by '_HiDPI_IRatioGDIPlus' function and the value is '1' but when querying from the registry key the returned value are '1.5' so both values are little bit different. This little bit different are leading my GUI controls to not sorted well.   This thread here contains a way to get current value of DPI used on the system via a registry key: Also please not