添加mfc到项目? [英] Add mfc to a project?

查看:146
本文介绍了添加mfc到项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始一个项目,并希望使用MFC添加表单。你怎么做的?我尝试设置它使用mfc,但它仍然不允许我添加mfc类(它说它不是一个mfc项目)。

I have already started a project and would like to add forms to it with MFC. How do you do this? I tried setting it to use mfc but it still doesn't allow me to add mfc classes(it says it isn't an mfc project).

也有任何GUI库,工作排序像.net?也许是因为我没有使用MFC太多,但我不在乎它是如何做事情。

Also is there any GUI library that works sorta like .net? Maybe it is because I haven't used MFC too much but I don't care for how it does events.

推荐答案

如果现在不太晚,那么您应该认真考虑使用 Qt 。您将获得丰富的用户界面,在运行时添加/删除事件的能力(通过 Qt信号和槽机制)加代码将为Windows,Linux和Mac构建。我不能推荐这个框架足够高(自从1994年和我使用MFC自2001年以来的WTL。)

If it isn't too late then you should seriously consider using Qt. You'll get a rich UI, the ability to add/remove events at runtime (through the Qt signals and slots mechanism) plus the code will build for Windows, Linux and the Mac. I cannot recommend this framework highly enough (and I have used MFC since 1994 and WTL since 2001.)

你可以得到一个Qt Visual Studio插件或甚至考虑他们的高级IDE Qt Creator

You can get a Qt Visual Studio plugin or even consider their superb IDE Qt Creator.

这篇关于添加mfc到项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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