DLL命令表
1
2
3
4
5
6
7
|
.版本 2 .DLL命令 GetKeyboardLayoutList, 整數(shù)型, , "GetKeyboardLayoutList" .參數(shù) nBuff, 整數(shù)型 .參數(shù) lplist, 整數(shù)型, 數(shù)組 .DLL命令 ActivateKeyboardLayout, 整數(shù)型, , "ActivateKeyboardLayout" .參數(shù) HKL, 整數(shù)型 .參數(shù) flags, 整數(shù)型 |
打開與關(guān)閉輸入法
1
2
3
4
5
6
7
8
9
|
.版本 2 .程序集 窗口程序集1 .程序集變量 鍵盤布局, , , "2" .子程序 __啟動窗口_創(chuàng)建完畢 GetKeyboardLayoutList (10, 鍵盤布局) .子程序 _編輯框_打開輸入法_獲得焦點(diǎn) ActivateKeyboardLayout (鍵盤布局 [2], 0) .子程序 _編輯框_關(guān)閉輸入法_獲得焦點(diǎn) ActivateKeyboardLayout (鍵盤布局 [1], 0) |
運(yùn)行結(jié)果:
總結(jié)
以上就是這篇文章的全部內(nèi)容了,希望本文的內(nèi)容對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,謝謝大家對服務(wù)器之家的支持。如果你想了解更多相關(guān)內(nèi)容請查看下面相關(guān)鏈接