problem about font
i write CMFont class,it inheritance CFont
e.g:
class CMFont:public CFont
{..........};
========================
CMFont font;
font.CreateFont(...);
GetDlgItem(IDC_FONTID)->SetFont(&font);
error
error C2664: 'CWnd::SetFont' : cannot convert parameter 1 from 'CMFont **__w64 ' to 'CFont *'
how to CMFont convert CFont
thank:)