キャンセルされた

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.

スキル: C++プログラミング

さらに表示: 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

採用者について:
( 8件のレビュー ) Truseni, Moldova, Republic of

プロジェクトID: #1543663

この仕事に、3人のフリーランサーが、平均$30で入札しています。

qspsolutions

Details in PMB.

$30 USD 0日以内
(5件のレビュー)
5.0
rameshau33

simple solution

$30 USD 0日以内
(0件のレビュー)
0.0
HXyG6b0Z4

Pls check PMB.

$30 USD 1日以内
(0件のレビュー)
0.0