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, etc,. MFC provides different wrapper classes; and each class is associated with Windows device context. Through this article, we are going to discuss different MFC’s Device Context classes. CDC class […]

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 discuss about CObject‘s “object diagnostic support” feature. Object diagnostic feature is useful to provide additional information about the objects; usually this information will be displayed in the output window in the integrated […]

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 enables to write message driven applications more easily. MFC provides CCmdTraget class for this purpose. In this article I am going to explain the steps to create user-defined messages and […]

MFC – CObject class – Enable Dynamic Object creation

As of now, we have discussed CObject class features “run-time class information” and “serialization support” in our previous articles MFC – CObject class – An Introduction – Enable Run-time class information and MFC – CObject class – Enable Object Serialization respectively. In this article, I am going to discuss CObject‘s another feature “dynamic object creation”. […]

Scroll to top