工具栏图标看起来模糊4K监视器上 [英] Toolbar icons look blurry on 4K monitor

查看:105
本文介绍了工具栏图标看起来模糊4K监视器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序的工具栏图标图像在1680x1050屏幕上看起来很清晰,但如果我们的应用程序显示在分辨率为3840x2160且比例为200%的4K显示器上,则工具栏图标图像看起来很模糊。如何让图标在4K显示器上看起来更清晰?

The toolbar icon images of our application look clear on 1680x1050 screen, but if our application is displayed on 4K monitor with resolution 3840x2160 and scale of 200%, the toolbar icon images look blurry. How to make the icons look clearer on 4K monitor?

推荐答案

我发现如下所示更改应用程序的属性设置可以使工具栏图标看起来更清晰。


I found that changing properties settings on the application as below can make toolbar icons look sharper.

1。右键单击程序图标,然后选择属性

2.选择兼容性选项卡。

3.在"设置"下,选中覆盖高DPI缩放行为选项。

4.在"由...执行缩放"下下拉菜单,选择系统(增强型)

5.点击应用

6.点击 OK

1. Right-click the program icon and select Properties.
2. Select the Compatibility tab.
3. Under "Settings", check the Override high DPI scaling behaviour option.
4. Under "Scaling performed by" drop-down menu, select System(Enhanced).
5. Click Apply.
6. Click OK.

但是我想在我们的应用程序中进行等效更改而不是在Windows中更改其属性,我们的应用程序是使用MFC在C ++中开发的。如果有人能让我知道如何在代码中进行更改以获得
清晰的工具栏图标,我将非常感激。

However I would like to make equivalent change in our application instead of changing its properties in Windows, our application is developed in C++ with MFC. I would be very grateful if anyone can let me know how to make change in the code to get sharp toolbar icons.


这篇关于工具栏图标看起来模糊4K监视器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆