🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: "use" menu item in another app?

#6342
From: Bob Gonder
Date: Tue, 17 May 2005 18:02
14 lines
1541 bytes
Remy Lebeau (TeamB) wrote:

>"Bob Gonder"  wrote in message
>
>> Then just PostMessage( hwnd, WM_COMMAND, menuinfo.wID, 0);
>
>Small change:
>
>    SendMessage( hWnd, WM_COMMAND, MAKEWPARAM(menuinfo.wID, 0), 0) );

I was thinking Post was better than Send because you don't know what
the other application is going to do with the message, or how long it
will take to process it. And if it hangs while processing, won't your
app hang too?
Technical Details
Message-ID: <o2ck8151hqea0h667513g8lh0h8149n6aq@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4289b235@newsgroups.borland.com> <v54k81lu0gb49sp76ri3ecjhb37gfbcatq@4ax.com> <428a1917$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de4107a245e3b3a8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: "use" menu item in another app?
Date: Tue, 17 May 2005 11:02:15 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <o2ck8151hqea0h667513g8lh0h8149n6aq@4ax.com>
References: <4289b235@newsgroups.borland.com> <v54k81lu0gb49sp76ri3ecjhb37gfbcatq@4ax.com> <428a1917$3@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.144.171
X-Trace: newsgroups.borland.com 1116352943 67.77.144.171 (17 May 2005 11:02:23 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail