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