如何获得以像素计算的字体宽度
BOOL GetTextExtentPoint32(
HDC hdc, // handle of device context
LPCTSTR lpString, // address of text string
int cbString, // number of characters in string
LPSIZE lpSize // address of structure for string size
);
只能获得字符串的宽度
浙公网安备 33010602011771号