Changing Fonts and Colors

Your application can use the custom draw service to change an item font. To do this, select the HFONT you want into the device context specified by the hdc member of the NMCUSTOMDRAW structure associated with that notification. Because the font you select might have different metrics from the default font, be sure that you include the CDRF_NEWFONT bit in the return value for the notification message.

The font that your application specifies is used to display that item when it is not selected. Custom draw does not enable you to change the font attributes for selected items.