Article View: borland.public.cppbuilder.nativeapi
Article #3035Re: Where are the messages going
From: Remy Lebeau (TeamB)
Date: Wed, 13 Sep 2006 18:21
Date: Wed, 13 Sep 2006 18:21
17 lines
1514 bytes
1514 bytes
"Mike King" <emailMK@excite.com> wrote in message news:450846c8@newsgroups.borland.com... > Is there a way to determine which window is receiving keyboard events? Keyboard messages are usually posted, not sent. When a message is removed from the message queue, the MSG structure contains a HWND specifying the window that the message was posted to. If the HWND is NULL, then the message was posted to the thread itself instead of a specific window that is owned by the thread. You can use the TApplication::OnMessage event to intercept messages that are received in the message queue. Gambit
Technical Details
Message-ID:
<45084e07@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<450846c8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,65946167d6a38193 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <450846c8@newsgroups.borland.com> Subject: Re: Where are the messages going Date: Wed, 13 Sep 2006 11:21:00 -0700 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 70.40.40.167 Message-ID: <45084e07@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1158172167 70.40.40.167 (13 Sep 2006 11:29:27 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail