Dibatalkan

SendMessage set text into edit control of directX window

I want to set up text in edit control of directx window programatically. I can get correct handle of edit control, but text is inserted only if I click on Edit control, How to insert text without clicking on Edit control, doing this in background. I'm doing this:

HWND hWnd = FindWindow(NULL,"Game");

HWND edit = FindWindowEx(hWnd, NULL, "Edit", NULL);

SendMessage(edit, WM_CHAR, (TCHAR) 'H', 0);

Sleep(100);

SendMessage(edit, WM_CHAR, (TCHAR) 'E', 0);

Sleep(100);

SendMessage(edit, WM_CHAR, (TCHAR) 'L', 0);

Sleep(100);

SendMessage(edit, WM_CHAR, (TCHAR) 'L', 0);

Sleep(100);

SendMessage(edit, WM_CHAR, (TCHAR) 'O', 0);

Sleep(100);

this code is working only if I click Edit control at same time when code running.... but how to make it programatically and full automated to insert text without clicking on Edit control. It is possible to do this all in background, and if window is hidden?

Also, I want to run multiple same programs, and I want to change Edit control text for all this running programs.

If you know answer and can make it working, then let me know

I will pay only for working code as I need it to work.

So, payment will be if I'm satisfied with the results of code, not just working code, it must work as I need. It must work in background, silently.

Kemahiran: Pengaturcaraan C++

Lihat lebih lanjut: sendmessage edit control, sendmessage edit, wm_char sendmessage, edit sendmessage, sendmessage, directx sendmessage, sendmessage directx, working at h&m, sleep programming, make set, get into programming, directx programming, cplusplus set, answer set programming, sendmessage set text, sendmessage text edit, edit control set text, h game, text game, full set, control M, alexod, window programming, click hidden, set game

Tentang Majikan:
( 8 ulasan ) Truseni, Moldova, Republic of

ID Projek: #1543663

3 pekerja bebas membida secara purata $30 untuk pekerjaan ini

qspsolutions

Details in PMB.

$30 USD dalam 0 hari
(5 Ulasan)
5.0
rameshau33

simple solution

$30 USD dalam 0 hari
(0 Ulasan)
0.0
HXyG6b0Z4

Pls check PMB.

$30 USD dalam sehari
(0 Ulasan)
0.0