🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to simulate a key press

#2969
From: Christophe MINETTI
Date: Tue, 24 Oct 2006 09:18
20 lines
1555 bytes
Many thanks. It works perfectly !

Christophe

"Harold Howe [TeamB]" wrote:

> Christophe MINETTI wrote:
> > I am using a commercial application that does full screen previews of files.
> > What I would like to do is to create an application with a timer that sends to
> > this commercial application a message as if I was cliking on Page Down (to
> > pass to the next file).
>
> This link discusses keybd_event
>
> http://web.archive.org/web/20040622202204/www.bcbdev.com/faqs/faq77.htm
>
> In your case, it might be simpler to send scroll messages to the window,
> rather than keyboard events.
>
> H^2
Technical Details
Message-ID: <453DDA70.85EB1ED8@ulb.ac.be>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <452A64DD.2C522659@ulb.ac.be> <op.tg58fkxajr09w3@localhost> <452B347F.585419A8@ulb.ac.be> <453d1d1f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ad4ca001f8dc3b64
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <453DDA70.85EB1ED8@ulb.ac.be>
Date: Tue, 24 Oct 2006 11:18:40 +0200
From: Christophe MINETTI <cminetti@ulb.ac.be>
X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to simulate a key press
References: <452A64DD.2C522659@ulb.ac.be> <op.tg58fkxajr09w3@localhost> <452B347F.585419A8@ulb.ac.be> <453d1d1f$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 164.15.88.32
X-Trace: newsgroups.borland.com 1161681508 164.15.88.32 (24 Oct 2006 02:18:28 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail