🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Keybd_event with an Ansi Code

#15495
From: Josh Kirkpatrick
Date: Wed, 02 Jul 2003 03:41
8 lines
1192 bytes
Hello.  I have a fairly simple question (I think...)

I have a string ("VK_A") and I would like to use keybd_event with this
character.  How to I convert the string to a BYTE, so it can be passed as
bVk?

Thanks,
Josh
Technical Details
Message-ID: <3f02546f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,285c18b4f22a6705,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-01 21:10:25 PST
From: "Josh Kirkpatrick" <jkirkpat@softhome.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Keybd_event with an Ansi Code
Date: Tue, 1 Jul 2003 23:41:37 -0400
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 68.114.164.10
Message-ID: <3f02546f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1057117295 68.114.164.10 (1 Jul 2003 20:41:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail