🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Catching key events in inactive state...

#11908
From: Remy Lebeau (TeamB)
Date: Sat, 10 Jan 2004 22:43
11 lines
1169 bytes
"Lars" <Lars@MagikaStudios.com> wrote in message
news:40006dfd$1@newsgroups.borland.com...

> how can I catch for instance a WM_KEYDOWN -> VK_TAB
> event when my application isn't active?

Use a global message hook via SetWindowsHookEx() in a DLL.


Gambit
Technical Details
Message-ID: <40007ecb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40006dfd$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,70c9c1c1f041160e
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-10 14:39:33 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40006dfd$1@newsgroups.borland.com>
Subject: Re: Catching key events in inactive state...
Date: Sat, 10 Jan 2004 14:43:30 -0800
Lines: 13
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: 67.22.138.253
Message-ID: <40007ecb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073774283 67.22.138.253 (10 Jan 2004 14:38:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail