🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Detecting ScreenSave state

#10570
From: Remy Lebeau (TeamB)
Date: Mon, 05 Apr 2004 17:14
16 lines
1322 bytes
"Rodrigo" <rodrigo@enalta.com.br> wrote in message
news:406b2cda$1@newsgroups.borland.com...

> I need to get the exactly moment that Windows
> begins the ScreenSave state

Have your form/window intercept the WM_SYSCOMMAND message.  You can look for
the SC_SCREENSAVE notification.

> but my application runs at TrayIcon.

That makes no differenct at all.


Gambit
Technical Details
Message-ID: <407193ec$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <406b2cda$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5a581483da7682b4
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-05 10:40:25 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <406b2cda$1@newsgroups.borland.com>
Subject: Re: Detecting ScreenSave state
Date: Mon, 5 Apr 2004 10:14:25 -0700
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <407193ec$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1081185260 67.22.138.253 (5 Apr 2004 10:14:20 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail