BrainDump
  Home arrow BrainDump arrow Page 3 - Introduction to MFC
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? 
BRAINDUMP

Introduction to MFC
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 5
    2008-02-27

    Table of Contents:
  • Introduction to MFC
  • Windows and Event Handling
  • The First MFC Program and the Basics
  • Explaining the File Names and Extending the Application
  • Conclusion

  • 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


    Introduction to MFC - The First MFC Program and the Basics


    (Page 3 of 5 )

    Now we are done with talking. The time has come to act, do something valuable, demonstrate something and not just discuss. Start up your Visual Studio and follow the path: File->New->Project... and click. You will get to the image below. Then choose according to the image (you may select a different path). We want to create an application for now with the name “MFC_example.



    Click OK and the AppWizard will appear. This is the utility that does all the nasty work for us.

    We can now set up the main basic options for every application. This is what AppWizard offers: it creates the model, the so-called sketch for each application. We don't need to write the standard codes that all applications require to work properly over and over again. The AppWizard automates it.



    At any point you can push the finish button, if you are sure that the default options fit your need(s). Go on with the default settings for now, since they will be okay. Modifying the options will be covered in the next article.

    After the creation process ends, you can build and start up the program. Kudos, you’ve just finished your first application. It will work, but it won't be very useful. Just as a newly-built home needs to be decorated, our application must be extended by our code, to add some functionality to it.

    Another thing remains unresolved. We need to grasp why each file was created and what they represent. The created file names depend on the chosen name of the application. I will note the parts that depend upon the aforementioned application name with the help of the italic font styling.

    More BrainDump Articles
    More By Gabor Bernat


       · MFC is the article stated the tool of the lazy programmer who don't want to write a...
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek