Article ID: 179143
Article Last Modified on 7/11/2005
strcpy(lf.lfFaceName, "KaiTi_GB2312"); lf.lfCharSet = GB2312_CHARSET; lf.lfHeight = 16; hfont = CreateFontIndirect(&lf); TextOutW(hdc, 10,10, UStr , 2);If you need to use the Traditional Chinese character set in your application, the font and character set name and the code point should be changed accordingly (GB2312_CHARSET -> CHINESEBIG5_CHARSET). Make sure you select the correct font into your DC when wm_paint time.
Keywords: kbhowto kbintl kbintldev KB179143