This code may help you
LOGFONT lfIcon;
VERIFY(::SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfIcon), &lfIcon, 0));
lfIcon.lfWeight = FW_NORMAL;
lfIcon.lfItalic = FALSE;
VERIFY(m_pPaintManager->GetItemMetrics()->m_font Normal.CreateFontIndirect(&lfIcon));
CFont fntNormal;
fntNormal.CreateFontIndirect(&lfIcon );
this.SetFont(&fntNormal);
this code set the font of local machine to your dialog may hepl you.
Just try i have one more solution.