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.
Even today, there's still a need for Events. Learn about them, and how to use them in your coding.
Learn how to use the simple, yet powerful, WndProc command and its associated methods to override various window and mouse functions.
Translation costs time and money, and can affect the quality of the product being made. Make sure all your team members speak the same language.