TIP: Click on subject to list as thread! ANSI
echo: delphi
to: MARTIN MAAT
from: FRANCOIS PIETTE
date: 1997-02-26 18:08:00
subject: SendKeys equivalent

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.