Article View: borland.public.cppbuilder.nativeapi
Article #13907Low level keyboard
From: Boguslaw Fries
Date: Mon, 08 Sep 2003 07:48
Date: Mon, 08 Sep 2003 07:48
32 lines
1801 bytes
1801 bytes
Hi, last time I extensively worked with low level Keyboard software
( using
EXPORT LRESULT CALLBACK KeyboardProc( int nCode, WPARAM wParam, LPARAM
lParam )
and KeyboardHandle = SetWindowsHookEx( WH_KEYBOARD_LL, (
HOOKPROC )KeyboardProc, hDll , 0 );
I have
KBDLLHOOKSTRUCT *pkbdllhook;
if ( nCode == HC_ACTION )
{
pkbdllhook = ( KBDLLHOOKSTRUCT * )lParam;
switch ( wParam )
{
...
}
almost all is ok, but I have only two open tasks:
How to catch characters : !"�$%&/()=? - I obtain instead 124567890
How to react on keyboard key pressed fo longer time ( key multiply - how
much characters was sended)
How to catch VK_INSERT ( check is overwrite or insert state )
Any suggestions?
I can also freely demonstrate my program ( C++ Borland 3.0 ) - can be
useful :)
but I dont know where
Boguslaw Fries
Technical Details
Message-ID:
<3f5c3437@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-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.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 X-Google-Thread: 10cc67,2875b50002bdcb6d,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-08 00:51:35 PST From: "Boguslaw Fries" <B.Fries@luca-online.de> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Low level keyboard Date: Mon, 8 Sep 2003 09:48:08 +0200 Lines: 34 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: 217.225.21.64 Message-ID: <3f5c3437@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063007287 217.225.21.64 (8 Sep 2003 00:48:07 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail