🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Closing the active screensaver window.

#8454
From: Tom|420
Date: Tue, 26 Oct 2004 01:27
26 lines
1758 bytes
Fractal Cat wrote:

> Hi All,
> 
> Sometimes when my screensaver is running  an event will occur,say, Microsoft 
> Outlook reminding me of an appointment.  What I want to do is close the 
> screensaver when something happens that needs my attention.
> 
> Regards
> 
> FC 
> 
> 

A screensaver is a normal application which normally has a Window. For 
most screensaver the window fills the screen and is black (yep, that's 
simply a stay-on-top window painted in black). In that case, simply send 
it a close message. Of course I understand that finding that exact 
window is the hard part.

Some screensavers, in particular those using OpenGL or DirectX, might 
not have a window at all.


Hope this helps
Tom :)
Technical Details
Message-ID: <417da817$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4173e7a4@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,539ff44186e75214
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 25 Oct 2004 21:27:57 -0400
From: Tom|420 <tom420.duhamel@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Closing the active screensaver window.
References: <4173e7a4@newsgroups.borland.com>
In-Reply-To: <4173e7a4@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.70.225.215
Message-ID: <417da817$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098754071 69.70.225.215 (25 Oct 2004 18:27:51 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail