🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Activating the first instance of a program when it's started multiple times

#6596
From: JD
Date: Tue, 26 Apr 2005 06:45
11 lines
1207 bytes
"PaoloItaly" <paolot@FAKETHESPAMMERsirius-es.it> wrote:
>
> [...]
>        ::SendMessage(hPrevApp, WM_SYSCOMMAND, SC_RESTORE, 0);

This code is unreliable. See my reply to Hans in the thread:

    Avoiding multiple programinstances and restore the firstone

~ JD
Technical Details
Message-ID: <426de37a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42688891@newsgroups.borland.com> <4268cbb1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3c4287e4044a862e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Activating the first instance of a program when it's started multiple times
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.165.74.147     
References: <42688891@newsgroups.borland.com> <4268cbb1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <426de37a$1@newsgroups.borland.com>
Date: 25 Apr 2005 23:45:14 -0700
X-Trace: newsgroups.borland.com 1114497914 207.105.83.66 (25 Apr 2005 23:45:14 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail