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
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Discover (Rediscover?) an image-manipulating tool that's been around for ages, but is especially suited to working within the .NET framework.
The concepts of boxing and unboxing data might be second nature for many, but for newbies it's worth covering. And, the "old hands" may learn something new, as well.
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!