Review Reference Counting and other useful memory-related patterns.
Latest C++ & MFC Articles - Page 21
Learn how to add a button to a server application (a WinForm app with a big Listen button) and have the handler for the click event raise a custom event.
BiSplitter is MFC-compatible class for creating a splitter window that looks like a Microsoft Outlook window.
The article describes a way of creating class objects by naming its classes. This way permits you to create a new class object by calling a function or class method that receives as input parameters pointer to CRuntimeClass object. In general, it shows you how to design a mechanism that creates a user-selected dialog window in its own child thread.
Derive your dialog class from CFloatingDialog and a couple of settings. You can create the sliding effects of the dialog in left, right, up, down and center directions from the other directions.
We make our projects in different files, not in a single file. We will do this because we want to reduce the compilation time during the development as well as reuse the code written in different files.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
With facilities to search, copy, extract segments, and more, the array class can handle pretty much any task you need to perform with ease.
Learn about delegates, a type that represents a reference to physical methods with the same parameter list and return type.
If you have written solid code, you have accomplished one half of the objective. Solid code is the protagonist, or hero, of our story, but testing is the more sedate side kick that often saves the day after the hubris of the hero has almost certainly lead to calamity.