编译高分辨率屏幕 [英] Compiling for High Res Screens
问题描述
我有两个程序项目都在Visual Studio 2010中使用MFC。 在许多方面它们是相似的,但它们有着截然不同的历史。
当我在我的Microsoft Surface Pro 1上以125%的屏幕放大率运行它们时,它们表现得很好不一样。
在一种情况下,16x15像素工具栏按钮看起来是16x15像素(并且几乎不可用); 在另一方面,它们被放大了。 屏幕放大系数似乎正在影响一个但不影响另一个。
有谁能告诉我什么编译器设置导致了差异?
Dave
David Webber莫扎特音乐记谱软件的作者http://www.mozart.co.uk
I have two program projects both using MFC in Visual Studio 2010. In many ways they are similar but they have very different histories.
When I run them on my Microsoft Surface Pro 1 with its 125% screen magnification, they behave differently.
In one case the 16x15 pixel tool bar buttons appear to be 16x15 pixels (and are almost unusably small); in the other they are magnified. The screen magnification factor seems to be taking affect on one but not on the other.
Can anyone tell me what compiler setting is causing the difference?
Dave
David Webber Author of Mozart music notation software http://www.mozart.co.uk
推荐答案
我有两个程序项目都在Visual Studio 2010中使用MFC。 在许多方面它们是相似的,但它们有着截然不同的历史。
当我在我的Microsoft Surface Pro 1上以125%的屏幕放大率运行它们时,它们表现得很好不一样。
在一种情况下,16x15像素工具栏按钮看起来是16x15像素(并且几乎不可用); 在另一方面,它们被放大了。 屏幕放大系数似乎正在影响一个但不影响另一个。
有谁能告诉我什么编译器设置导致了差异?
I have two program projects both using MFC in Visual Studio 2010. In many ways they are similar but they have very different histories.
When I run them on my Microsoft Surface Pro 1 with its 125% screen magnification, they behave differently.
In one case the 16x15 pixel tool bar buttons appear to be 16x15 pixels (and are almost unusably small); in the other they are magnified. The screen magnification factor seems to be taking affect on one but not on the other.
Can anyone tell me what compiler setting is causing the difference?
这篇关于编译高分辨率屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!