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 Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
Using output caching is now much easier to use, thanks to .NET 4 and higher, and also can be used in a traditional application.
Learn about the functions, and see a small example of how the particular functions can be used.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!