|
|
|
[快讯]十年磨一剑!《加密与解密(第4版)》已上市!
3版两年没看完,就出新版了,哇的一声就哭了 |
|
[求助]关于输入法注入的问题
那样我也可以,只是换成了输入法就不行了 |
|
[求助]关于输入法注入的问题
这样的话,是输入法写的有问题,还是exe写的有问题? void CInstallerDlg::OnBnClickedSetup() { // TODO: 在此添加控件通知处理程序代码 ::SystemParametersInfo(SPI_GETDEFAULTINPUTLANG, NULL, &oldInputHandle, NULL); HKL IME = ImmInstallIME(TEXT("C:\\Windows\\System32\\my.ime"), TEXT("Win标准输入法1.0")); if(IME == 0) { MessageBox(TEXT("安装失败!")); } else { hg_IME = IME; HWND hwnd = ::FindWindow(NULL, TEXT("legend of mir2")); if(!hwnd) { MessageBox(TEXT("未找到游戏!")); return; } IMEActivEx(hwnd); GetDlgItem(IDB_SETUP)->EnableWindow(FALSE); GetDlgItem(IDB_UNLOAD)->EnableWindow(TRUE); //MessageBox(TEXT("安装成功!")); } } BOOL IMEActivEx(HWND hWnd) { if (hg_IME != NULL) { //激活指定窗口输入法 ::PostMessage(hWnd, WM_INPUTLANGCHANGEREQUEST, 0x1, (LPARAM)hg_IME); } else { //句柄不存在,枚举输入法句柄,激活 //HKL imehandle = EnumIme((IME_CAPTION).c_str(),szSysDir); //if (imehandle != NULL) //{ // ::PostMessage(hWnd,WM_INPUTLANGCHANGEREQUEST,0x1,(LPARAM)imehandle); //} //else //{ // return FALSE; //} } return TRUE; } |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值