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 ); 只能获得字符串的宽度