WM_KEYDOWN message
- From: "Tadek" <ted66_USUN_TO_@xxxxxxxxxxxxx>
- Date: Fri, 14 Apr 2006 21:19:23 +0200
I have to replace a value (1,0030) with another (1,0050)
in a certain application. I have to do it 10000 times !
(I don't have the source code).
I started to do it manually by pressing the following keys:
Arrow down {move to next cell}
Shift-End {select content}
1,0050 {replace with a new value}
etc.
After 500 records I thought about writing my application,
which will be able to simulate pressing these keys.
I started:
h:=FindWindow(nil,TitleOfTheWindow); // it works
SendMessage(H,WM_CHAR,149,1) // it doesn't work
SendMessage sends a message to a window, but not to an active
control in this window.
How to send a message to an active control in an external application?
Please help me, else I will have to spend
at least three days introducing that terrible data.
Ted
.
- Follow-Ups:
- Re: WM_KEYDOWN message
- From: Nikson
- Re: WM_KEYDOWN message
- From: Hans-Peter Diettrich
- Re: WM_KEYDOWN message
- From: J French
- Re: WM_KEYDOWN message
- Prev by Date: Re: Free software licence text for my application?
- Next by Date: Selecting and making the selected visible
- Previous by thread: Free software licence text for my application?
- Next by thread: Re: WM_KEYDOWN message
- Index(es):
Relevant Pages
|