Article View: borland.public.cppbuilder.nativeapi
Article #16802Re: PostMessage() with HWND_BROADCAST not working.
From: Remy Lebeau (TeamB)
Date: Thu, 24 Apr 2003 17:43
Date: Thu, 24 Apr 2003 17:43
16 lines
1546 bytes
1546 bytes
"Jeff Douglass" <.> wrote in message news:3ea817c4@newsgroups.borland.com... > If I use the actual handle of the startup window in the call > to PostMessage() everything works fine but when I try using > the HWND_BROADCAST constant it does not work. Any > ideas would be great. What does your actual code look like? What kind of message are you trying to broadcast specifically? Some messages can't be broadcasted with PostMessage(), they need SendMessage() instead. Is there any reason why you're broadcasting in the first place instead of simply looking for the startup window specifically? Gambit
Technical Details
Message-ID:
<3ea8221a$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ea817c4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a275b46d2460f43e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-24 10:50:24 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ea817c4@newsgroups.borland.com> Subject: Re: PostMessage() with HWND_BROADCAST not working. Date: Thu, 24 Apr 2003 10:43:54 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3ea8221a$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051206170 207.175.226.26 (24 Apr 2003 10:42:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail