Home arrow C++ arrow Page 2 - Using MFC in C++ Part 1: A Basic Application Skeleton
C++

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.

Author Info:
By: Mitchell Harper
Rating: 5 stars5 stars5 stars5 stars5 stars / 78
November 26, 2001
TABLE OF CONTENTS:
  1. · Using MFC in C++ Part 1: A Basic Application Skeleton
  2. · Building the framework
  3. · Creating the framework classes
  4. · Adding the code to MyClass.cpp
  5. · Making sure our application runs
  6. · Responding to windows messages
  7. · Conclusion

print this article
SEARCH DEVARTICLES

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.

The Microsoft Visual C++ Projects Tab

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.
blog comments powered by Disqus
C++ ARTICLES

- Intel Threading Building Blocks
- Threading Building Blocks with C++
- Video Memory Programming in Text Mode
- More Tricks to Gain Speed in Programming Con...
- Easy and Efficient Programming for Contests
- Preparing For Programming Contests
- Programming Contests: Why Bother?
- Polymorphism in C++
- Overview of Virtual Functions
- Inheritance in C++
- Extending the Basic Streams in C++
- Using Stringstreams in C++
- Custom Stream Manipulation in C++
- General Stream Manipulation in C++
- Serialize Your Class into Streams in C++

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials