Jump to content
Tuts 4 You

extremely small text and buttons in 4k resolution


abbas

Recommended Posts

hi

im searching for a month and i cant fix it

tried simple methods;windows size change and scaling compatibility none worked

also manifest file but not sure if i  did it right

Link to comment
On 2/21/2017 at 5:39 AM, Teddy Rogers said:

Is this in general or in your own coded programs you are trying to use DPI scaling?

https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx

Ted.

general

some apps are displayed fine

but some others not

for example ollydbg is displayed fine while IDA pro is prick

and i already tried the solutions provided in that page.none works

Edited by abbas
Link to comment

If the problem applications are DPI aware they could be sizing and scaling certain window items incorrectly. There isn't much you can do about it other than raise a bug report.

OllyDbg is DPI unaware so the OS scales the window accordingly...

Ted.

Link to comment
2 hours ago, Teddy Rogers said:

If the problem applications are DPI aware they could be sizing and scaling certain window items incorrectly. There isn't much you can do about it other than raise a bug report.

OllyDbg is DPI unaware so the OS scales the window accordingly...

Ted.

i read some things about external manifest file.

i created a manifest file in program directory and made the required reg key but i cant get it done.it is supposed to overwrite programs manifest and make it  DPI unaware

is there any other place than manifest file in which program informs os if it is  DPI aware or not?

Link to comment

The program could be telling the OS the application is DPI aware by calling API functions SetProcessDPIAware or SetProcessDpiAwareness. Check if they are calling either of these functions and patch them...

Ted.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...