Learn about a set of control-derived classes for a colorful presentation by using XP-styled hottracked controls with themed gradient buttons.
Latest Extending/Subclassing Techniques Articles
Add extra features to the MFC Grid Control so that the user can format the cells as in a spreadsheet program.
A way to control all the Controls on a form view or on a dialog--resize the controls, move them, or hide them. This method works even if they are already subclassed.
Roger looks at adding behaviour to classes and examines various techniques. Along the way he encounters a strange compiler bug and has to work around it.
Via the addition of sizing capabilities to the dialog and property pages classes, Roger illustrates how to add behaviour to your classes.
Roger combines everything we've learned up to this point to create a generic custom-draw mechanism for all MFC custom control classes.
Latest CodeGuru Developer Columns
With the addition of the C/C++ extension to Visual Studio Code, you might have what is needed in a small, cross-platform editor.
Learn how to set up unit tests using an existing database and by using new, custom SQL scripts.
Learn how to calculate each winning hand in Poker.
Onion Architecture addresses the challenges faced with 3-tier and n-tier architectures, and provides a solution for common problems.