Article View: borland.public.cppbuilder.nativeapi
Article #6016Re: HWND_BROADCAST doesn�t work!
From: JD
Date: Sat, 18 Jun 2005 19:11
Date: Sat, 18 Jun 2005 19:11
15 lines
1310 bytes
1310 bytes
"Alexandre S�" <alexandre@daccord.com.br> wrote: > > [...] PostMessage(HWND_BROADCAST, WM_USER, 0, 0L); This is a potential problem for other applications. If any application is also using WM_USER, then it will respond to your message in error. If you're going to use HWND_BROADCAST, I would suggest that you first call RegisterWindowMessage in both applications, with the exact same string, and use the returned numeric value as the message code. ~ JD
Technical Details
Message-ID:
<42b471c4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42b30d0a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,af4f253f03c4e6fb X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: HWND_BROADCAST doesn�t work! Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 205.188.116.135 X-Forwarded-For: 172.135.47.49 References: <42b30d0a$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42b471c4$1@newsgroups.borland.com> Date: 18 Jun 2005 12:11:00 -0700 X-Trace: newsgroups.borland.com 1119121860 207.105.83.66 (18 Jun 2005 12:11:00 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail