Sign in to follow this  

MFC For Dummies

This topic is 4162 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm a little confused. What exactly is MFC. I know it's a way to create dialog boxes, but can it also be used with other things. For example, in an OpenGL program, could I use MFC whenever a dialog box was needed, I.E. for options or something? Or is it a stand alone thing? I really don't think I'm getting the whole thing with this, and I'm sure I sound like an idiot. [smile] Please forgive me? Thanks Levi

Share this post


Link to post
Share on other sites
Hey there.

MFC is just a C++ wrapper for Win32. It's for people who prefer C++ over C, object-oriented over procedural, and/or people who want something a bit more "high-level" than Win32. It's a lot easier to use than straight Win32, although a lot of people complain about it for some reason.

Share this post


Link to post
Share on other sites
mfc is an application framework... basically a collection of C++ classes that wrap a good portion of the Win32 API (windows, GDI, winsock, shell programming). it is a standalone thingy. it wraps WinMain/DllMain so you really can't mix it into a Win32 app. so if you have a console program you can't just include the MFC headers and use it to display a dialog. it's all or nothing.

Share this post


Link to post
Share on other sites

This topic is 4162 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this