请问各位一个问题:
我有如下的一段代码
void CTDNWV01View::OnInitialUpdate()
{
CRichEditView::OnInitialUpdate();
// Set the printing margins (720 twips = 1/2 inch)
SetMargins(CRect(720, 720, 720, 720));

CHARFORMAT2 cf; cf.cbSize = sizeof(CHARFORMAT2);
cf.dwMask = CFM_FACE;
cf.dwEffects = 0;
CString aFont(_T("BatangChe"));
strcpy(cf.szFaceName,(char*)(LPCTSTR)aFont);
SetCharFormat(cf);

}其目的是为了在程序打开的时候将其字体设置为特定字体,请问一下问题在哪里?需要怎么做才能在打开程序的时候改变默认字体设置?