Windows Scripting
  Home arrow Windows Scripting arrow Improving MFC for Windows Vista
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? 
WINDOWS SCRIPTING

Improving MFC for Windows Vista
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2009-02-18

    Table of Contents:
  • Improving MFC for Windows Vista
  • First Impressions
  • The Open/Save Dialog
  • Final Thoughts

  • 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


    Improving MFC for Windows Vista


    (Page 1 of 4 )

    Before its release, many wondered if Microsoft Visual Studio 2008 (or Version 9.0), the latest version of one of the most popular IDE and compilers, would include enough updates to motivate corporations and developers to make the transition. This article will take a look at the differences between it and the previous version, with special attention paid to the Microsoft Foundation Class library.

    A successful program is worth the attention of developers when it improves its features and what you can do with it. In theory you should get real substance, but in practice, sometimes all you get is marketing: an increase in version count, an attempt to resolve a few bugs, give it an interface lift, and voila! It is sold as a new, improved program. We've all seen this happen more than once.

    In this way marketers lure anyone who has already bought earlier versions to spend even more money on an upgrade despite the fact that they won’t really benefit from it. So here we have the new version of probably any developer’s most important tool: a compiler and source code editor all in one application (IDE meaning Integrated Development Environment).

    With this launch Microsoft also decided to go back to taking two years to develop a new version, with the associated advantages and disadvantages of this approach. While it’s obvious that in this way you will get many new technologies that are launched daily in our hectic IT departments more quickly, this also results in less time for the development teams to properly improve their product.

    As result many additions are launched later on as a pack that you can install separately after downloading it from the Microsoft site. But you also shouldn’t forget that you’ll have to pay for the upgrade more often.

    Microsoft Foundation Class Library (or MFC, as it is widely known) is one of those items that seems to get relatively short shrift from Microsoft, as lately they seem more interested in promoting their .Net platform via the C# language, to say nothing of their flagship operating system. 

    MFC is basically a library that facilitates easy control of programming applications for the ubiquitous Microsoft OS: Windows. As the last OS was released back in 2001 (the ominous Windows XP), all of the controls it had have been integrated into the compiler released after that. Happily enough, a new OS took its place in the meantime in 2007, and it came with a major face lift, so plenty of improvements can be made.

    Also the there was a rumor spread in the world of the ID that native development wouldn't be an option for the future. This in and of itself makes any MFC improvements redundant, although many companies still look at it as a strong option, offering an easy control of the UI. And all of this coming from C++ instead of C#. It is a known fact that C++ offers a more accurate, in-depth control/connection with the operating system than traditional C# methods.

    Happily the new interface is created by the GPU; it’s more stylish and also takes up more system resources, but has given birth to new controls. This means that native development is cranking right along. As to whether this is good or bad, thousands of words have been written on that topic here on the Dev Shed network so feel free to look into it.

    Microsoft eventually made clear that they hadn’t forgotten about MFC users and came up with a totally rewritten, improved version of the MFC. This has been made by one of the most influential companies in this segment and includes tons of new improvements, the appearance of new controls and so on (which, of course, didn’t made it into the initial release, so the download pack/install is needed).

    But for now we aren’t interested in this. We only want to see what we can obtain with just a recompile of our source code (as we may have written the application for the previous OS under, let’s say, Visual Studio 2005 - version 8) or very little modification. The new controls will be presented in a future article, so for now let’s get started.

    More Windows Scripting Articles
    More By Gabor Bernat


     

    WINDOWS SCRIPTING ARTICLES

    - More Windows Scripting Workarounds from Nilpo
    - Overloading Methods and More in VBScript
    - Improving MFC for Windows Vista
    - Regular Expressions in VBScript
    - Working with Dates in WMI
    - Completing Calendars with VBScript Date Func...
    - Building Calendars with VBScript Date Functi...
    - Working With Dates and Times in VBScript
    - Designing WCF DataContract Classes Using the...
    - Understanding Dates and Times in VBScript
    - Working With Arrays in VBScript
    - Compressed Folders in WSH
    - Using .NET Interops in VBScript
    - Nilpo`s Scripting Secrets, Vol I
    - Database operations using Silverlight 2.0 WC...





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