C#
  Home arrow C# arrow Page 2 - 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  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
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


    An Overview of MFC, Part 1 - Getting Started with MFC


    (Page 2 of 5 )

    Visual Studio and Visual C++ together are much more than an IDE with a compiler. They are a full fledged application development environment for Windows that, when used correctly, lets you exercise the object oriented nature of C++ to create robust and scalable 32-bit Windows applications. To get the most out of this powerful environment, one must be well versed in the C++ programming language and a few other language features. To write code in MFC using C++, you need to know C++ well, conceptually at least.

    You must also be familiar with the Microsoft Foundation Classes’ hierarchy. This class hierarchy does the fabulous job of encapsulating the user-interface-related APIs, and makes it conceptually easier to create Windows applications in an object-oriented way -- because now you think in terms of the application logic, rather than where to handle message and where to put the code! This hierarchy is well defined and exposes only the APIs which a specific version of Windows supports by magical use of #ifdefs, thus covering all versions of Windows. Hence the code you write using MFC is a lot more portable than old fashioned C/SDK code.

    In this article we’re going to learn the essentials needed to begin with MFC programming, and then talk about event driven programming. You need to do that kind of programming anyway when you program for Windows. We will also write a plain MFC "Hello World" application just to see how well we understood the basics. In future articles we’ll also discuss the details of the MFC library so that you may appreciate the way MFC was written and used now.

    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

    - C# and XML
    - Pointers and Arrays in C#
    - C# 3.0 Extension Methods
    - Overloading Operators in C#
    - Iterators and Nullable Types
    - Patterns and Iterators in C#
    - C# Exceptions
    - Methods in C#
    - Delegates and Events in C#
    - Advanced C#
    - Working with Regular Expressions in C#
    - Sending Simple E-Mail in C#
    - Building C# Comparable Objects: IComparable ...
    - Color Transformation Applications in C# GDI+...
    - Performing Color Transformation Operations i...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT