🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Detecing origin of messages

#4628
From: Vesty
Date: Tue, 03 Jan 2006 20:15
11 lines
1181 bytes
Howdy folks,

Is it possible in an application to detect the origin of window messages? 
For example, if someone sends a message to my application using SendMessage 
is there any way I can tell the difference between that and a message that 
was generated internally in my program?

Any tips appreciated,

-- 
Vesty. 
Technical Details
Message-ID: <43badac9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7cb7d06378521605,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vesty" <no@email.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Detecing origin of messages
Date: Tue, 3 Jan 2006 15:15:08 -0500
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 70.88.254.65
Message-ID: <43badac9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1136319177 70.88.254.65 (3 Jan 2006 12:12:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.gamma.ru!Gamma.RU!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail