int GetTextCharset( HDC hdc, // handle to DC );你有一个DC然后用这个函数就能知道这个DC中使用的FONT的CHARSET是什么 Return Values If the function succeeds, the return value identifies the character set of the font that is currently selected into the specified device context. The following character-set identifiers are defined:ANSI_CHARSET BALTIC_CHARSET CHINESEBIG5_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET GB2312_CHARSET GREEK_CHARSETHANGUL_CHARSET MAC_CHARSET OEM_CHARSET RUSSIAN_CHARSET SHIFTJIS_CHARSET SYMBOL_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSETKorean language edition of Windows: JOHAB_CHARSETMiddle East language edition of Windows: ARABIC_CHARSET HEBREW_CHARSETThai language edition of Windows: THAI_CHARSETIf the function fails, the return value is DEFAULT_CHARSET.你想要做什么?
HDC hdc, // handle to DC
);你有一个DC然后用这个函数就能知道这个DC中使用的FONT的CHARSET是什么
Return Values
If the function succeeds, the return value identifies the character set of the font that is currently selected into the specified device context. The following character-set identifiers are defined:ANSI_CHARSET
BALTIC_CHARSET
CHINESEBIG5_CHARSET
DEFAULT_CHARSET
EASTEUROPE_CHARSET
GB2312_CHARSET
GREEK_CHARSETHANGUL_CHARSET
MAC_CHARSET
OEM_CHARSET
RUSSIAN_CHARSET
SHIFTJIS_CHARSET
SYMBOL_CHARSET
TURKISH_CHARSET
VIETNAMESE_CHARSETKorean language edition of Windows:
JOHAB_CHARSETMiddle East language edition of Windows:
ARABIC_CHARSET
HEBREW_CHARSETThai language edition of Windows:
THAI_CHARSETIf the function fails, the return value is DEFAULT_CHARSET.你想要做什么?