if ( !lpszFacename || !lpszFacename[0] ) lpszFacename = _T("Arial"); //based on the language charcter set Font.DeleteObject(); return Font.CreateFont(nHeight, nWidth, 0, 0, nWeight, FALSE, FALSE, 0, byCharSet, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE | TMPF_TRUETYPE, font name );
byCharSet
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)