Flat Toolbar (requires IE3+)
Articles Written by Roger Onslow
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.
In this first part of a two-part series programming owner-drawn controls, Roger Onslow introduces the concepts and techniques behind writing your own controls.
Roger walks you through the creation of a class that eases the burden on the working class programmer when it comes to custom draw controls.
Roger combines everything we've learned up to this point to create a generic custom-draw mechanism for all MFC custom control classes.