MFC tutorialMFC (Microsoft Foundation Classes) is a rich class library developed by Microsoft, which consists of large number of classes. Using the MFC classes, you can build feature rich applications with nice GUI s very easily. The Windows operating system provides an API (Application Programming Interface) for the programmer, which consists of functions which the programmer can use for build applications for Windows (win32 API). But, building complex applications using those functions in the win32 API along is not that easy. Normally, API functions provide you low level operations and using those are also not easy because they contain many arguments to be passed to them. With MFC, you do not need to use those complicated API functions. MFC provides a framework which is very easy to use and learn than win32 API. The MFC classes are written using the win32 API functions and they hide the real API from you and provide you a framework which is much easier to use. For an example, creating a window and writing the code to handle the messages it receive from operating system is somewhat complicated task and requires a good knowledge on how the operating system handles windows. But, the MFC application wizard in Visual studio can straightaway generate the window of your application for you. All you need to do is customizing it for your need. The tutorials will help you to get started with MFC and they will show you the basic elements of the library and how to do various tasks which you frequently need in developing applications.
|