|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
||||||
Disable the input method of the text control of other programs15.12.2020, 15:09. Показов 5979. Ответов 35
Метки нет (Все метки)
I have a program, when I use a QR code scanner to scan the code, I must set the text control to the English input method. Otherwise, the scan will fail. It should be because I don’t have the source code. I want to know how to specify this text box The input method of the control is English. I want to make a plug-in to automatically perform this operation. Automatically detect when the cursor is in the target text box, modify the input method. Thank you
But it doesn’t seem to work perfectly in win10. Is there any other good way? ImmAssociateContext(mHwnd, 0) It can only act on its own process and has no effect on other processes ImmAssociateContextEx(mHwnd, 0, 0) It can only act on its own process and has no effect on other processes
0
|
||||||
| 15.12.2020, 15:09 | |
|
Ответы с готовыми решениями:
35
Как сделать disable для input text? Проблема с формой (<form action=1.php method=post> <input type=text name='first'> <input type=submit value=ok>) How to determinate cursor position in HTML <input type=text> control. |
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
||||||||||||||||
| 28.12.2020, 10:47 [ТС] | ||||||||||||||||
|
i want used this api "DisableCurrentIme" to disable input method in the other program .i want injected dll to the program.and run DisableCurrentIme.
test.zip have a test.exe .this is the target program! run this exe ,click the button will show work form.now i want hook this window,and then when the text control have forcus. dll can run DisableCurrentIme ! I want to try this technique. Добавлено через 1 час 19 минут thank you sir. in the test.zip .you can see test.exe. i want injection dll to the hook the work form .when the text control have forcuse i want run this API DisableCurrentIme to disable Keyboard input method.
see the picture 18# Добавлено через 3 минуты
see 17 # .18#
0
|
||||||||||||||||
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 29.12.2020, 02:17 [ТС] | |
|
@the trick. yes. you are right.
Добавлено через 3 минуты I just want to disable the input method of a specific window! In addition, I want to know, what is wrong with my use of your dll inject method? Can you tell this defect
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
||||||
| 29.12.2020, 17:43 [ТС] | ||||||
|
thank you
I'm glad you have time to reply to my question. I also tested your demo and it works well. But I modified it a bit. I hope to hook the text box automatically. There is a problem here. Please see the attachment,if hooked i have to click on the window of Injector.exe first, after transferring the focus, click on the text box. Then I can disable the input method. injectdll.zip By the way, is there any problem with the previous dll inject method?
0
|
||||||
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 02.01.2021, 03:37 [ТС] | |
|
It seems that if you don't understand OD or other languages, you can't figure it out.
This is the trick that can be used very well. And we will have all kinds of doubts Happy New Year!
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 03.01.2021, 06:11 [ТС] | |
|
This is the effect I achieved with non-dll injection. I hope to use dll to achieve it again
used this dll inject https://www.vbforums.com/showt... ost5505050 I think this method of dll injection and file mapping to transfer data is very useful
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 04.01.2021, 10:25 [ТС] | |
|
can give me a demo ?used timer
sub timer if true then dll inject else unload hook end sub
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
||
| 06.01.2021, 11:41 [ТС] | ||
|
Thanks the trick
now i konw why ...
in win10 ;If the injected program is not an administrator runed, it cannot be injected. how can fixed this
0
|
||
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 07.01.2021, 09:47 [ТС] | |
|
cant used timer ... It's a big problem!
in ide used timer work well ,but exe cant used timer .crashes or becomes nonresp~~~ Добавлено через 3 часа 3 минуты because this timer have a do loop to find a window handle !
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 08.01.2021, 08:36 [ТС] | |
|
I am ready to give up looking for a solution. Maybe it is more practical to learn a new language and write dll
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
||
| 08.01.2021, 12:12 [ТС] | ||
So I like your dll injection function in vbfroums. see 27# gif . This is the effect display please help me modify this code!! I want to use partial matching to find the window handle,This is the most important place.
0
|
||
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 11.01.2021, 04:16 [ТС] | |
|
Waiting is really a bad feeling. please reply
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 15.01.2021, 04:48 [ТС] | |
|
now used EnumWindows find hwnd .now work ok .game over
0
|
|
|
7 / 7 / 0
Регистрация: 10.07.2015
Сообщений: 69
|
|
| 20.01.2021, 09:43 [ТС] | |
|
same code in win10 work ok. in win7 work not ok. Unable to debug, the injected program does not respond. This is estimated to be only a toy for me. give up
0
|
|
| 20.01.2021, 09:43 | |
|
Помогаю со студенческими работами здесь
36
результат выборки из БД: rs.next(); String text=rs.getString('text'); <input type=text name=name value=<%=text%>> How programatically disable all controls within frame without actually specifying each control name? Нажав на checkbox, input text появится у первого checkbox всегда, хотя должен input text появится у того checkbox Одинаковая ширина для полей input text & input password Одинаковая ширина для полей input text & input password Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |
|
Новые блоги и статьи
|
|||
|
Модульная разработка через nuget packages
DevAlt 07.03.2026
Сложившийся в . Net-среде способ разработки чаще всего предполагает
монорепозиторий в котором находятся все исходники.
При создании нового решения, мы просто добавляем нужные проекты
и имеем. . .
|
Модульный подход на примере F#
DevAlt 06.03.2026
В блоге дяди Боба наткнулся на такое определение:
В этой книге («Подход, основанный на вариантах использования») Ивар утверждает,
что архитектура программного обеспечения — это
структуры,. . .
|
Управление камерой с помощью скрипта OrbitControls.js на Three.js: Вращение, зум и панорамирование
8Observer8 05.03.2026
Содержание блога
Финальная демка в браузере работает на Desktop и мобильных браузерах. Итоговый код: orbit-controls-threejs-js. zip. Сканируйте QR-код на мобильном. Вращайте камеру одним пальцем,. . .
|
SDL3 для Web (WebAssembly): Синхронизация спрайтов SDL3 и тел Box2D
8Observer8 04.03.2026
Содержание блога
Финальная демка в браузере. Итоговый код: finish-sync-physics-sprites-sdl3-c. zip
На первой гифке отладочные линии отключены, а на второй включены:. . .
|
|
SDL3 для Web (WebAssembly): Идентификация объектов на Box2D v3 - использование userData и событий коллизий
8Observer8 02.03.2026
Содержание блога
Финальная демка в браузере. Итоговый код: finish-collision-events-sdl3-c. zip Сканируйте QR-код на мобильном и вы увидите, что появится джойстик для управления главным героем.
. . .
|
Реалии
Hrethgir 01.03.2026
Нет, я не закончил до сих пор симулятор. Эта задача сложнее. Не получилось уйти в плавсостав, но оно и к лучшему, возможно. Точнее получалось - но сварщиком в палубную команду, а это значит, в моём. . .
|
Ритм жизни
kumehtar 27.02.2026
Иногда приходится жить в ритме, где дел становится всё больше, а вовлечения в происходящее — всё меньше. Плотный график не даёт вниманию закрепиться ни на одном событии. Утро начинается с быстрых,. . .
|
SDL3 для Web (WebAssembly): Сборка библиотек: SDL3, Box2D, FreeType, SDL3_ttf, SDL3_mixer и SDL3_image из исходников с помощью CMake и Emscripten
8Observer8 27.02.2026
Недавно вышла версия 3. 4. 2 библиотеки SDL3. На странице официальной релиза доступны исходники, готовые DLL (для x86, x64, arm64), а также библиотеки для разработки под Android, MinGW и Visual Studio. . . .
|