在 Visual Studio 2013 中显示带有偏移的控件

2022-01-12 00:00:00 win32gui mfc visual-studio-2013

最近我将源代码从 Visual Studio 2010 迁移到 Visual Studio 2013.

Recently I have migrated my source code from Visual Studio 2010 to Visual Studio 2013.

在 Visual Studio 2013 中构建后,控件显示为带有偏移(单击下面的链接查看图片).

After building in Visual Studio 2013, controls are displayed with an offset (see image by clicking on the link below).

图片链接

有人知道会发生什么吗?

Does anybody know what happens?

推荐答案

我认为是对话框边框粗细的问题.我在项目设置中更改了以下属性 &这对我有用.Project Properties->Configuration Properties->General->Platefortoolset,设置为 Visual Studio 2013 - Windows XP (v120_xp) 就可以了.谢谢大家的帮助

I Think issue was with the border frame thickness of dialog box. I changed the following property in project settings & that worked for me. Project Properties->Configuration Properties->General->Platefortoolset, set it to Visual Studio 2013 - Windows XP (v120_xp) And it worked. Thanks everyone for help

相关文章