Salut Martin Maat !
Dans un message de Martin Maat dat‚ du 23 Feb 97 10:34:34 il ‚tait dit:
MM> Yo, All.How do I send keys to other windows in the system, like I
MM> could in VB with the SendKeys statement? I tried to send WM_KEYDOWN
MM> messages to no avail, the target window seems to ignore them.
You have to call SendMessage to send two messages: one WM_KEYDOWN and
one WM_KEYUP to simulate a real keyboard event.
Are you sure you use the correct window handle for the destination
window ?
Amiti‚s,
{-Francois Piette-}
francois.piette@ping.be
http://www.rtfm.be/fpiette
--- SvFido 1.32
---------------
* Origin: OverByte BBS (Embourg-Belgium) 32-4-3651395 VFC/V34+ (2:293/2202)
|