Automatic Font Handling Class

by Jamie Nordmeyer

Simple class to be used in the place of the MFC CFont class

A while back ago, I realized that I didn't want to fill in the LOGFONT structure anymore, so I created the CAutoFont class, derived from CFont, so it can be used in place of any CFont objects that you may already have in your code.

This article was originally published on Monday May 1st 2000
Mobile Site | Full Site