SendMessage set text into edit control of directX window

Cancelado Publicado Apr 3, 2012 Pagado a la entrega
Cancelado Pagado a la entrega

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.

Programación en C++

Nº del proyecto: #1543663

Sobre el proyecto

3 propuestas Proyecto remoto Activo Apr 5, 2012

3 freelancers están ofertando un promedio de $30 por este trabajo

qspsolutions

Details in PMB.

$30 USD en 0 días
(5 comentarios)
5.0
rameshau33

simple solution

$30 USD en 0 días
(0 comentarios)
0.0
HXyG6b0Z4

Pls check PMB.

$30 USD en 1 día
(0 comentarios)
0.0