If we want to know which language id is we are using now,
Some of you may asked this question. Especially, your program have to support
multi-language.
Below code is the sample code:
WORD GetSystemLanguageID()
{
return LANGIDFROMLCID(::GetSystemDefaultLCID());
}
After calling this function, it's will return one WORD datatype information,
For example English : 0x0409, Traditional Chinese : 0x0404
From now, I believe that you should understand how to use the result.
Cheers.
1 則留言:
非常實用!!
謝謝分享^^
張貼留言