win32控件正在从Visual Studio 2013中的边缘剪裁 [英] win32 controls are getting clipped from edges in Visual Studio 2013

查看:105
本文介绍了win32控件正在从Visual Studio 2013中的边缘剪裁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我最近将VC ++代码从visual studio 2010迁移到visual studio 2013.源代码包含两个类型控件1. Win32控件2. MFC控件。在visual studio 2013中构建代码之后,win32控件变得扭曲,即静态文本或按钮被合并到窗口框架中。请在两个版本的Visual Studio中查看控件图像的链接:imgur.com/a/2w4y8。请帮忙。

Hi I have recently migrated the VC++ code from visual studio 2010 to visual studio 2013. Source code contains two type controls 1. Win32 Controls 2. MFC Controls. After building the code in visual studio 2013 the win32 controls are getting distorted i.e static texts or buttons are getting merged in to frame of window. Please see the link for images of control in both version of Visual Studio : imgur.com/a/2w4y8 . Please help.

推荐答案

我认为问题在于对话框的边框粗细。我在项目设置中更改了以下属性&这对我有用。

项目属性 - >配置属性 - > General-> Platefortoolset,将其设置为
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


这篇关于win32控件正在从Visual Studio 2013中的边缘剪裁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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