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).
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.
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.)
You can get a Qt Visual Studio plugin or even consider their superb IDE Qt Creator.
You could try WTL. It's kind of like MFC, but most of the work is done at compile time, so you don't have to ship a big DLL with your app. I did most of my learning at CodeProject.
精彩评论