BrainDump
  Home arrow BrainDump arrow Microsoft Foundation Library Controls
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

Microsoft Foundation Library Controls
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2009-02-24

    Table of Contents:
  • Microsoft Foundation Library Controls
  • The Control Classes
  • Creating the Base
  • Further Extensions

  • 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


    Microsoft Foundation Library Controls


    (Page 1 of 4 )

    Microsoft has always been occupied with the development of libraries that make programmers’ lives much easier inside their own operating system. The Microsoft Foundation Library is just a prime example of this. As with each library, this also needed to provide a reliable and easy way to handle the objects of the Windows OS. The solution found by the company was the creation of controls.

    This is the first part of a three-part article series that will appear here on the ASP Free website of the Developer Shed Network. Throughout this article, I will present the most representative controls inside MFC in general and how to use them. In the second part, the theme will be the Virtual List, one of the many smart tricks we can use to speed up our program that uses MFC controls.

    In our final article, we will see how we can implement a selection on a list control with the report style, similar to a capability within the MS Excel suite. You don't need too much knowledge beforehand to get the most out of this series, just the basics of Object Oriented Programming (in C++); you should also be able to create an MFC application with the wizard. If you lack information on how to do this, I recommend that you read my Introduction to MFC articles.

    Controls are all over the place in your calculator. The "OK" button, for instance, is a control. The edit box within which you type your name, or the text that appears inside a dialog, can also be a static control, not to mention radio buttons, check boxes, and more. If you managed to start up your Visual Studio, you've already seen countless examples of this:




    There are a lot more controls, objects that are implemented inside the operating system directly. The list is long and full of useful items; just look at those currently available inside Visual Studio 2008 in the Toolbar section:


    As you can see, there exist controls for all kinds of objects inside the Windows operating system. With the help of the resource editor, you can add them, assign variables to them, and create an object from them, as explained here.

    More BrainDump Articles
    More By Gabor Bernat


     

    BRAINDUMP ARTICLES

    - Microsoft, NSF Open Cloud Computing to Scien...
    - Windows 7 Grabs One-Tenth of Market
    - Windows Mobile 7
    - Commands in WPF
    - Routing Events in WPF
    - Property Value Inheritance and More WPF Conc...
    - Important New Concepts in WPF
    - 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





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