Article View: borland.public.cppbuilder.nativeapi
Article #4259Re: Continuing problem with SendMessage and WM_CCOPYDATA
From: Nate Lockwood
Date: Mon, 27 Feb 2006 01:43
Date: Mon, 27 Feb 2006 01:43
23 lines
1945 bytes
1945 bytes
Dennis Jones wrote: > Now, forgive me if I've missed something, but if all you want to do is > prevent a second instance from running and instead ... No, I want to do more than that, and I able to use PostMessage just to restore the window and bring it to the front. The way my ap is used is that the user will probably run it, then minimize it while other work is done, then a folder will be checked, new input files will be chosen, and they will be opened with my ap, GoogleEarthTool which produces GoogleEarth KML files. I want to get any filenames from the command line and pass them to the running instance as well as restore, etc. But first things first, If I can use SendMessage with a trivial message then I know I can use it the filenames in a string (or better yet, a StringList). Thanks for your kind help, Dennis. I got so frustrated with this I started to learn Python! Nate
Technical Details
Message-ID:
<44025954@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>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:43:55 -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> In-Reply-To: <44024219$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: <44025954@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141004628 69.234.59.217 (26 Feb 2006 17:43:48 -0700) Lines: 23 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