Home > Software engineering >  MFC development call fonts
MFC development call fonts

Time:09-18

MFC development, how to call their download a font, font, font Settings interface in a text box, such as song typeface, such as the great spirit guide

CodePudding user response:

The font you downloaded on the system tray

CodePudding user response:


Put the font on the Windows/Fonts, word or text editing tools to see if can call, and then in the program can use

CodePudding user response:

Choose fonts have CFontDialog

CodePudding user response:

M_Font. CreateFont (
FONT_SIZE,//size
0,
0,
0,
0,
FALSE,
FALSE,
FALSE,
DEFAULT_CHARSET,
OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY,
DEFAULT_PITCH,
_T (" tahoma "));

Call the SetFont text box (& amp; M_Font);

CodePudding user response:

Visual inspection method should be feasible on the second floor

CodePudding user response:

For the MSDN example, try myself
  • Related