Many engineering applications have been around for years and often been developed from using either MFC Appwizard or some sample MFC application. They are still very useful, but what holds them down is there antiquated look and feel. Further, many times the GUI code isn’t very abstracted and the whole idea of re-doing the GUI is not feasible. There is a way out though. You can quickly give your application a slick look and feel by using MFC Feature Pack – no re-architectural work required.
MFC Feature Pack was first launched in April 2008 as ‘Visual C++ 2008 with Feature Pack’. MFC version shipped was 9.0.30411 (mfc90.dll). Since then, feature pack is in-built in all future releases till date. The MFC Feature Pack is a set of GUI classes that enables you to build applications that have the look & feel of MS Office, Visual Studio or Internet Explorer applications. It provides MS Office Ribbon style interface, customizable toolbars and menu, MDI tabbed windows, advanced GUI controls, docking toolbars and panes.
Refer to the following images. The first image is of MFC application based on pre-feature pack MFC classes. Fig. 2 is the same application with the classes with feature pack incorporated.
Fig.1.MFC application without Feature Pack
Fig. 2. MFC application with Feature Pack
There are many sample applications in the Visual Studio distribution that can help you in guiding on the usage of the GUI classes. I am pasting below few screenshots from some of the sample applications to give you a feel of the UI capabilities and look.
Fig. 3.1: Desktop Alert
Fig. 3.2: Dialog Tooltip
Fig. 3.3: MDI Tabs
Fig. 3.4: Button Style
Fig. 3.5: Rollup Pane
Fig. 3.6: Toolbar Tooltip
Of course, there are some other more advanced and complex tool kits available viz. Codejock, BCGSoft Controls etc. for GUI upgradation of old MFC application. These are all commercial toolkits and you will need a license. If you are using common windows widgets and are looking for simple upgradation, it is best to just use MFC Feature Pack. It’s free with recent versions of Visual Studio.
1. Visual C++ 2008 Feature Pack Release http://www.microsoft.com/en-us/download/details.aspx?id=6922
2.MFC Visual C++ 2008 Feature Pack samples http://archive.msdn.microsoft.com/vcsamplesmfc
1. MFC Feature Pack for Visual C++ 2008 http://msdn.microsoft.com/en-us/library/bb982354.aspx
2. Walkthroughs (MFC Feature Pack) http://msdn.microsoft.com/en-us/library/bb982451.aspx
3. New features in MFC Feature Pack http://msdn.microsoft.com/en-us/library/bb984556(v=vs.90).aspx
Author: VVS Contact us email@example.com