Control displayed with an offset in Visual Studio 2013(在 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
这篇关于在 Visual Studio 2013 中显示带有偏移的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Visual Studio 2013 中显示带有偏移的控件
基础教程推荐
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- CString 到 char* 2021-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 初始化列表*参数*评估顺序 2021-01-01
