Article View: borland.public.cppbuilder.nativeapi
Article #4260Re: Continuing problem with SendMessage and WM_CCOPYDATA
From: Nate Lockwood
Date: Mon, 27 Feb 2006 01:48
Date: Mon, 27 Feb 2006 01:48
17 lines
1803 bytes
1803 bytes
Dennis Jones wrote: > Here's one thing you might not be aware of -- if you are doing this in the > IDE and trying to step through the code of the sending application, if you > have a design-time form/unit open in the IDE that matches the criteria of > the FindWindow call (your main form in this case), the design-time window > will receive the message instead of the other executing instance of your > application! So, when you are testing from the IDE, close the design-time > main form and its associated CPP file. Other than that, your current code > should work fine. > Ah ha! That might be it, I'll give it a try. The method of bringing the first window in front is lots better/easier than PostMessage! Thanks again.
Technical Details
Message-ID:
<44025a5e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.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:
<44021981$1@newsgroups.borland.com> <44024219$1@newsgroups.borland.com> <44024ad1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6afbc9bf5041d787 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 26 Feb 2006 17:48:21 -0800 From: Nate Lockwood <RNLockwoodREMOVE@attglobal.net> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Continuing problem with SendMessage and WM_CCOPYDATA References: <44021981$1@newsgroups.borland.com> <44024219$1@newsgroups.borland.com> <44024ad1$1@newsgroups.borland.com> In-Reply-To: <44024ad1$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.234.59.217 Message-ID: <44025a5e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141004894 69.234.59.217 (26 Feb 2006 17:48:14 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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