开发者

Working with IME names in Delphi

Delphi TScreen object has a collection that accepts IME names. And the TControl offers SetIMEName method.

Are these IME name开发者_StackOverflow中文版s constant? Are they same as ISO language names?

Platform: Windows XP.

Thanks, Pavan.


They are not ISO language names. They are names of keyboard layouts. Look at the implementation of TScreen.GetImes in Forms.pas to see that the list comes from reading the layout text key values from the HKey_Local_Machine\System\CurrentControlSet\Control\Keyboard Layouts registry keys.

Some values from my computer that make it obvious it's not a list of language names include Latin American, United Kingdom Extended, Chinese (Simplified) - US Keyboard, Divehi Phonetic, Lithuanian IBM, and Russian (Typewriter).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜