🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to simulate a key press

#2968
From: Harold Howe [TeamB]
Date: Mon, 23 Oct 2006 19:50
14 lines
1583 bytes
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: <453d1d1f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!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> <op.tg58fkxajr09w3@localhost> <452B347F.585419A8@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
Date: Mon, 23 Oct 2006 14:50:56 -0500
From: "Harold Howe [TeamB]" <hhjunk.bounce@mchsi.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, 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>
In-Reply-To: <452B347F.585419A8@ulb.ac.be>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 170.54.59.167
Message-ID: <453d1d1f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1161633055 170.54.59.167 (23 Oct 2006 12:50:55 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail