将对话框从一个项目复制到另一个项目后,编辑框显示为黑色 [英] Edit boxes appear black after copying a dialog from one project to another

查看:122
本文介绍了将对话框从一个项目复制到另一个项目后,编辑框显示为黑色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过复制.h和.cpp文件并复制.rc文件,将一个项目的对话框资源复制到另一个项目。

I had copied a dialog box resource form one project to another by copying the .h and .cpp files and by copying the .rc file.

复制对话框,但对话框中的编辑框显示为黑色。  任何人都可以说出可能的原因。我正在使用Visual Studios 2015.提前感谢

The dialog box is copied but the edit boxes in the dialog box appears black.  Can any one say what could be the possible reason for this. I am using Visual Studios 2015. Thanks in advance

推荐答案

这不是那么简单。有些文件需要修改。我忘记了以前的做法,但我认为可以使用设计师复制和粘贴对话框。
It is not that simple. There are files that need to be modified. I forget what I used to do but I think it is possible to copy and paste dialogs using the designer.


这篇关于将对话框从一个项目复制到另一个项目后,编辑框显示为黑色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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