🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3112

Re: How to simulate a key press

#3112
From: JF Jolin
Date: Mon, 09 Oct 2006 20:27
19 lines
1329 bytes
I never tried to send directly a WM_KEYUP or WM_KEYDOWN message.

Why would i, keybd_event does that for me.


09 Oct 2006 11:03:57 -0400, Christophe MINETTI <cminetti@ulb.ac.be> wrote:

> Hi all,
>
> I would like to know how can I simulate a key down press in an
> application. I suppose I have to send a message to this application but
> I am not familiar with this kind of things.
>
> Many thanks in advance.
>
> Christophe

__
JF Jolin
Technical Details
Message-ID: <op.tg58fkxajr09w3@localhost>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <452A64DD.2C522659@ulb.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ad4ca001f8dc3b64
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to simulate a key press
References: <452A64DD.2C522659@ulb.ac.be>
Message-ID: <op.tg58fkxajr09w3@localhost>
Date: Mon, 09 Oct 2006 16:27:10 -0400
From: "JF Jolin" <jfj@nospam.com>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
User-Agent: Opera M2/8.54 (Win32, build 7730)
NNTP-Posting-Host: 66.36.159.167
X-Trace: newsgroups.borland.com 1160425624 66.36.159.167 (9 Oct 2006 13:27:04 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail