MFC – The device context classes
Windows device context is the key GDI element that refers a physical device. Device contexts are used to draw to the physical device; screen, printer,...
MFC – CObject class – Enable Object Diagnostic support
In our previous articles we have discussed about CObject‘s “run-time class information”, “serialization support” and “dynamic object creation” features. In this articles I am going to...
MFC – How to create user-defined messages and their message handlers?
Windows based user interface applications are message driven. When a message is generated, its associated message handler will be executed. MFC (Microsoft Foundation Classes) framework...
MFC – CObject class – Enable Dynamic Object creation
As of now we have discussed about CObject class features “run-time class information” and “serialization support” in our previous articles MFC – CObject class –...
Visual C++ – How to create modal dialog and modeless dialogs using MFC ?
MFC (Microsoft Foundation Classes) provides classes to deal with dialogs. Dialog boxes are very useful to take user inputs, displaying and allowing the users to...
Visual C++ – Creating an ATL COM Component (Part – 1)
Active Template Library (ATL) is a light weight library used to develop COM based components using Visual C++. Through ATL we can quickly develop COM...
MFC – CObject class – Enable Object Serialization
CObject supports object serialization. One of the MFC’s great feature, which allows to store and retrieve the object’s current state. To enable this feature in...
MFC – CObject class – An Introduction – Enable Run-time class information
CObject is the base class for almost all classes in Microsoft Foundation Class (MFC) library. A class is qualified as a MFC based class by...
MFC – Convert C++ Class to MFC based class
Microsoft Foundation Classes (MFC) are used to develop Windows based applications. MFC supports Document-View architecture; where data management separates from presentation layer. MFC wraps portions...
OpenGL – How to draw on MFC dialog? – Complete working code
In our previous Articles, we have discussed linking OpenGL related files to the Project and prepare the MFC Dialog to display the OpenGL graphics. You...
OpenGL – How to draw on MFC dialog? – Prepare to draw the Graphics
Through the series of Articles, we are learning how to draw on MFC dialog using OpenGL. In our previous article “OpenGL – How to draw...
OpenGL – How to draw on MFC dialog? – Linking opengl32.lib
OpenGL is used to render 2D and 3D vector graphics. We have briefly discussed about OpenGL in our previous article “OpenGL – Open Graphics Library...