I'm writing an app that uses a CRichEditCtrl. I want to be able to use a CFontDialog to let the users change the Rich control's font. The problem is that the Rich controls use a CHARFORMAT to hold the font data and CFontDialogs use CHOOSEFONT.

Can anyone shed some light on this?