1.用ImmInstallIME函数,下面是msdn的描述:
The ImmInstallIME function installs an IME into the system.HKL ImmInstallIME(
LPCTSTR lpszIMEFileName,
LPCTSTR lpszLayoutText
);
Parameters
lpszIMEFileName
Pointer to a null-terminated string that specifies the full path of the IME.
lpszLayoutText
Pointer to a null-terminated string that specifies the name of the IME. This name also specifies the layout text of the IME.
Return Values
The return value is the handle to the keyboard layout for the IME.Res
This function is intended to be used by IME setup programs only.2.*.ime均为输入法文件
3.WM_IME_SELECT
具体还是请查阅MSDN有关IME的function和message。
Wish it can help you.
The ImmInstallIME function installs an IME into the system.HKL ImmInstallIME(
LPCTSTR lpszIMEFileName,
LPCTSTR lpszLayoutText
);
Parameters
lpszIMEFileName
Pointer to a null-terminated string that specifies the full path of the IME.
lpszLayoutText
Pointer to a null-terminated string that specifies the name of the IME. This name also specifies the layout text of the IME.
Return Values
The return value is the handle to the keyboard layout for the IME.Res
This function is intended to be used by IME setup programs only.2.*.ime均为输入法文件
3.WM_IME_SELECT
具体还是请查阅MSDN有关IME的function和message。
Wish it can help you.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货