C#
  Home arrow C# arrow An Overview of MFC, Part 1
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

An Overview of MFC, Part 1
By: Digvijay Chauhan
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 12
    2005-02-15

    Table of Contents:
  • An Overview of MFC, Part 1
  • Getting Started with MFC
  • What is MFC anyway?
  • Using the Windows Event Driven Model
  • Building our First Application

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    An Overview of MFC, Part 1


    (Page 1 of 5 )

    Programming with Microsoft Foundation Classes allows you to quickly create programs that are smaller than they would have been if you had created a full-fledged application using the Windows API, but still accomplish the same goals. It also allows you to separate the user interface of your program from the processing logic; this flexibility can come in very handy when you need to make modifications. Read on to learn the basics.


    The support file for this article is available here.


    In this article we’ll try to grasp the basics of Windows programming with MFC and how to use Visual Studio to write MFC applications. We’ll observe how programs behave the way they do from the perspective of a Visual C++ programmer. Most beginners to Visual C++ and MFC dive straight into the code that the Visual C++ AppWizard generates and then are clueless about what they see. This happens simply because it is not only hard to follow the generated MFC code, but also because most people don’t know what they get from the AppWizard. You need to have a fundamental understanding of MFC code structure; without that, you can’t write even a single line of code. Yes, that’s the truth!

    Beginning with this article, we’ll cover in a simple but effective manner the fundamental concepts that animate any MFC program. Once you have covered the basics we’ll move on to more advanced topics that will surely make you a better Win32 MFC programmer. Here in the first article of this series we shall take a look at the basics, and you’ll see that the MFC and the App Wizard generated output does make your life as a programmer easier.

    More C# Articles
    More By Digvijay Chauhan


       · Hi I'm Digvijay ....... the author of this article.Please feel free to ask any...
       · This article should be filed under C++ and not under C#Regards,Anand...
     

    C# ARTICLES

    - Cyclic Redundancy Check
    - Handling Methods and Functions
    - Destroying Objects in C#
    - Creating Objects in C-Sharp
    - Classes and Objects
    - Programming Languages: Managed versus Native
    - LINQ-to-MySQL with DbLinq in C#
    - Working with Dates and Times in C#
    - Generics, Dictionaries, and More
    - More About Generics
    - Working with C# Collections
    - Generics
    - C# and XML
    - Pointers and Arrays in C#
    - C# 3.0 Extension Methods





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    Stay green...Green IT