🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

clearing keyboard events

#12113
From: Michael Powell
Date: Sun, 28 Dec 2003 19:12
12 lines
1170 bytes
Hello,

I would like to clear a keyboard event.

I am scanning for "escape" using GetAsyncKeyState(). At which point I
present user with prompt (yes, no, cancel). First pass by this prompt and no
prompt. Or escape was not cleared since having gotten its state.

Any API to do this in Windows?

Regards,
Michael
Technical Details
Message-ID: <3fef2af9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!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,3e93738ec6037e67,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-28 11:39:25 PST
From: "Michael Powell" <powellmw@comcast.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: clearing keyboard events
Date: Sun, 28 Dec 2003 12:12:22 -0700
Lines: 14
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.35.190.58
Message-ID: <3fef2af9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072638713 68.35.190.58 (28 Dec 2003 11:11:53 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail