Article View: borland.public.cppbuilder.nativeapi
Article #7876Re: ? determine of NO apps have focus
From: KR
Date: Sat, 18 Dec 2004 02:20
Date: Sat, 18 Dec 2004 02:20
41 lines
2447 bytes
2447 bytes
You can use GetDesktopWindow and intercept mouse messages. But if you click on an icon I dont know if messages go to desktop or to "icon object" of sorts. On Fri, 17 Dec 2004 14:29:55 +0000, DeKayA wrote: > On Fri, 17 Dec 2004 14:14:52 +0100, Hans Galema <notused@notused.nl> > wrote: > > No no I don't think it should be activated with out special coding. > I was just stating that the function I wish to instantiate should not > conflict with anything because currently nothing happens. > > What I am planning is a windows background manipulator. > and the way I want to activate it is by clicking on an unused area. > > That means I could click literally anywhere on the clear desktop and > start MY app. (Kinda special) > > This means I need a small program that is running in the background > that is waiting for a double click in a clear area. > then I spawn my main program > > Hope this makes it a bit clearer > Dekaya > > > > > >>DeKayA@bellsouth.net wrote: >> >>> I would like to create a program that is activated when you double >>> click in a clear area of the desktop. Currently nothing happens. (At >>> least in win2k on my machine.) >> >>You could try to place a shortcut to your program at that place. >> >>Why do you think that your program should be activated without ? >> >>Hans.
Technical Details
Message-ID:
<pan.2004.12.18.02.19.57.858172@nospamme.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41c2c0cd.274654@forums.borland.com> <41c2dbe7$1@newsgroups.borland.com> <41c4ec5a.11423616@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b3ccc1579e3ccec7 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: KR <kr@nospamme.net> Subject: Re: ? determine of NO apps have focus Date: Fri, 17 Dec 2004 21:20:00 -0500 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-ID: <pan.2004.12.18.02.19.57.858172@nospamme.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <41c2c0cd.274654@forums.borland.com> <41c2dbe7$1@newsgroups.borland.com> <41c4ec5a.11423616@forums.borland.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 24.148.149.154 X-Trace: newsgroups.borland.com 1103335940 24.148.149.154 (17 Dec 2004 18:12:20 -0800) Lines: 42 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail