Article View: borland.public.cppbuilder.nativeapi
Article #17381Key Name to Virtual Key Code
From: RaynorPao
Date: Wed, 26 Mar 2003 07:54
Date: Wed, 26 Mar 2003 07:54
12 lines
1062 bytes
1062 bytes
Hi all: Is there an API can convert Key Name to Virtual Key Code? For example: char sz[16]="F1"; int i=KeyNameToVirtualKeyCode(sz); The value of i will be VK_F1. Thanks. RaynorPao.
Technical Details
Message-ID:
<3e8158e9@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!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,59cf09bcf2259d6d,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-25 23:48:02 PST From: "RaynorPao" <RaynorPao.nospam@nospam.pchome.com.tw> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Key Name to Virtual Key Code Date: Wed, 26 Mar 2003 15:54:47 +0800 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 203.73.124.171 Message-ID: <3e8158e9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048664297 203.73.124.171 (25 Mar 2003 23:38:17 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail