Using MFC in C++ Part 1: A Basic Application Skeleton
Microsoft Foundation Classes allow C++ developers to write windows apps easier and faster. In this article, Mitch starts from scratch and digs deep into the MFC toolbox to provide you with all of the code and details to create a simple MFC based Win32 app.
Using MFC in C++ Part 1: A Basic Application Skeleton - Building the framework (Page 2 of 7 )
Over the last couple of years, I’ve found the best way to learn a programming language is to get right down to the bare metal, scrap any wizards and memorize the actual language formations and structures. This too is the case for MFC. Start by loading up the Visual C++ IDE, and selecting the File menu, then New. Click on the Projects tab and choose the Win32 Application. In the Project Name box, type in “MFCSample” (without the quotes) and then click on the OK button.
Next, the “Which Kind Of Application Do You Want To Create” dialog will appear. We will be starting from scratch, so just click on the Finish button leaving the “An Empty Project” radio button checked. Click on the OK button and the outline of your application will be built and displayed in the workspace window to the left of the screen.