🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Sending several keystrokes to a window via keybd_event( )

#15036
From: Oren (Halvani.de)
Date: Tue, 22 Jul 2003 21:34
17 lines
1376 bytes
hi dear builders,

I'm trying to build a automation tool...one function should send several
keystrokes to a active window..
but my problem is how you see:

keybd_event('VK_BACK',0,0,0); // ---> only one parameter is allowed !!

where can I put the other keystrokes ??

For example I got a combination of "CTRL + C" (copy action) and directly
after it a "CTRL + V" (past action)

hope someone can help...?


Oren
Technical Details
Message-ID: <3f1daedc@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5f450e96226173c8,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-22 14:40:32 PST
From: "Oren \(Halvani.de\)" <neroniker@gmx.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Sending several keystrokes to a window via keybd_event( )
Date: Tue, 22 Jul 2003 23:34:55 +0200
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.6.43.187
Message-ID: <3f1daedc@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058909916 213.6.43.187 (22 Jul 2003 14:38:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail