CFont VC development of use

This article is provided for use CFont mfc do some simple summary.

CFont is a mfc class provides for operation of the font, the class supports multiple operating CFont font, as follows:

Header: afxwin.h

After CFont create an object, you must use one of several initialization function CFont provided to initialize the font association.

初始化:
CreateFont();
CreateFontIndirect();
CreatePointFont();
CreatePointFontIndirect();

// Get fonts
GetLogFont ();

Guess you like

Origin blog.csdn.net/weixin_42452990/article/details/91411676