SunQuest
 
       C#
  Home arrow C# arrow An Overview of MFC, Part 1
Iron Speed
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  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
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 / 11
    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

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    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

    - Exceptions in C#
    - Overriding versus Overloading
    - Value Types and Reference Types
    - Defining Member and Type Visibility
    - Managing Files in C#
    - Working with Windows Registry in C#
    - Lossless Image Resizing in C#
    - Lossless Image Converting in C#
    - Creating an RSS Feed with ASP.Net Written in...
    - Polymorphism in C#
    - Inheritance in C#
    - C# Events Explained
    - C# Delegates Explained
    - C# StreamReader and StreamWriter Explained
    - C# FileStream Explained





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway