MFC Tutorials

The previous tutorial dealt with the Creation of Modal Dialog boxes in MFC. This part of our Tutorial deals with the Creation of Modeless Dialog boxes in MFC. The difference between a modal and modeless dialog box is that, modal dialogs once invoked will not allow the users to access the parent window, where as [...]

Application programs in any language need some interactive screens to give inputs and obtain outputs. All windows based GUIs will definitely use dialogs for such user interactions. This part of our MFC Tutorial deals with the Dialog boxes in MFC. Dialog Box handling is done using CDialog class in MFC. CDialog is a CWnd derived [...]

Menu programming is the next step to be learnt in MFC after learning message maps. MFC provides two ways of programming menus. One is by using the resource option and the second is by using the dynamic menu option. This part of MFC Tutorial discusses about the Resource option. The following steps will explain how [...]

This MFC Tutorial part 3 deals with the task of creating a simple paint brush application. This program will draw a line when the left mouse button is clicked and dragged. This will stop drawing the line when the left mouse button is released. This MFC Tutorial application creates a window by using the class [...]

This article is the next step after MFC Tutorial Part 1 which dealt with a simple task of creating a window. This part tries to cover the details about Message Map. Message Maps are the way by which MFC handles the Application messages. Any class which is derived from CCmdTarget is a candidate for handling [...]

MFC provides really nice classes for doing windows programming. It has taken away all the pains of SDK, where a programmer is expected to handle everything in the world except writing for application logic.It used to be such a big pain, that people hated SDK so much and lots of them shifted to VB development. [...]

1 2 3