🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #491

Re: sending key codes to an application (such as CTRL-p)

#491
From: Roel Spapens
Date: Mon, 14 Jun 1999 00:00
17 lines
1195 bytes
Basically you'd send a keydown for the ctrl or shift
then the keydown/keyup for the p
then the keyup for the ctrl or shift

Altough depending on where you will be sending it YMMV

HTH
  Roel

Tally Schmeits <tally@kings.nl> wrote:
> Hi there,

> I was wondering how you can send a CTRL-P to an application?! Or
> another key stroke. Is the CTRL or SHIFT information hidden in the
> WParam?! 

> Greets Tally
Technical Details
Message-ID: <7k3p2k$j8p@news.tue.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37650ec7.133478@news.codim.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baee,ea11b264e84d82a7
X-Google-Attributes: gid10baee,public
X-Google-Thread: 1043cf,ea11b264e84d82a7
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 112b07,ea11b264e84d82a7
X-Google-Attributes: gid112b07,public
From: Roel Spapens <roels@stack.nl>
Subject: Re: sending key codes to an application (such as CTRL-p)
Date: 1999/06/14
Message-ID: <7k3p2k$j8p@news.tue.nl>
X-Deja-AN: 489573204
References: <37650ec7.133478@news.codim.nl>
Organization: Eindhoven University of Technology, The Netherlands
User-Agent: tin/pre-1.4-980730 (UNIX) (FreeBSD/2.2.8-STABLE (i386))
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.vcl.components.writing,borland.public.delphi.objectpascal