我在OnPaint()中写了下面代码{
CPaintDC dc(this);  Graphics graphics(dc.m_hDC); SolidBrush brush(Color(255, 0, 0, 255));
FontFamily fontFamily(L"Times New Roman");
Font font(&fontFamily, 24, FontStyleRegular, UnitPixel);
PointF pointF(10.0f, 20.0f); graphics.DrawString(L"Hello World!", 12, &font, pointF, &brush);
}
运行提示Font 不明确符号 不能实例化抽象类