🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using GetAsyncKeyState() ?!!

#14367
From: Remy Lebeau (TeamB)
Date: Mon, 18 Aug 2003 17:36
20 lines
1427 bytes
"Schandler" <theslider@programmer.net> wrote in message
news:3f3f3635@newsgroups.borland.com...

> int check key = GetAsyncKeyState(VK_SHIFT);
> but it didn't work correctly
Here you go:

    short state = GetAsyncKeyState(VK_SHIFT);
    if( state & 0x8000 )
        // ...


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID: <3f410ceb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f3f3635@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,64528418f36af68
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-18 10:38:58 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f3f3635@newsgroups.borland.com>
Subject: Re: Using GetAsyncKeyState() ?!!
Date: Mon, 18 Aug 2003 10:36:01 -0700
Lines: 22
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.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f410ceb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061227755 207.175.226.26 (18 Aug 2003 10:29:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail