473,320 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Screen savers

Hi,

Is there an event I can listen for in WndProc so I know when the screen
saver is active and insactive?

Thanks
Nov 22 '05 #1
6 1332
HOWTO: Know When Your Screen Saver Starts
http://support.microsoft.com/default...b;en-us;238882
Nov 22 '05 #2
HOWTO: Know When Your Screen Saver Starts
http://support.microsoft.com/default...b;en-us;238882
Nov 22 '05 #3
Thats when it starts, is that event fired when it stops also?

If so, how do we know its started or stopped? Nothing in LParam?
"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
HOWTO: Know When Your Screen Saver Starts
http://support.microsoft.com/default...b;en-us;238882

Nov 22 '05 #4
Thats when it starts, is that event fired when it stops also?

If so, how do we know its started or stopped? Nothing in LParam?
"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
HOWTO: Know When Your Screen Saver Starts
http://support.microsoft.com/default...b;en-us;238882

Nov 22 '05 #5
I don't believe there's an equivalent for the screen saver being stopped.
However you can use start a timer in your application and call
SystemParametersInfo() with uiAction set to SPI_GETSCREENSAVERRUNNING.

http://msdn.microsoft.com/library/en...metersinfo.asp
Nov 22 '05 #6
I don't believe there's an equivalent for the screen saver being stopped.
However you can use start a timer in your application and call
SystemParametersInfo() with uiAction set to SPI_GETSCREENSAVERRUNNING.

http://msdn.microsoft.com/library/en...metersinfo.asp
Nov 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: | last post by:
Hi, Is there an event I can listen for in WndProc so I know when the screen saver is active and insactive? Thanks
6
by: Tony Liu | last post by:
Hi, when switched to the full screen mode in VS.NET IDE, is there any way to hide the main menu bar? Thanks Tony
18
by: DavidS | last post by:
Have resW=screen.width; resH=screen.height in javascript. How can I read these values in ASP.NET source code - Page_Load function of code behind? Any suggestions?
4
by: Shawn Mehaffie | last post by:
I have created a screen saver using VB.Net but cannot find any articles or examples on how to write the code for the /p parameter (display in dialog preview window). All the .Net exmaples I have...
2
by: kevin | last post by:
Not sure if this is the right place for this, if not please direct me accordingly. I have made a screen saver, and it has some options. How do I get those options to be available from the Windows...
0
by: Jeffery Tyree | last post by:
I have a machine that will be used to demo some Excel spreadsheets at a convention. Because I did not author the spreadsheets and attendees will be allowed to play with the spreadsheets, I needed...
0
by: Ian Ceicys | last post by:
I’ve been tasked with doing documentation on the project I’ve recently joined. Here’s what I’m looking for in terms of documentation. I want to generate a diagram from a huge .net 1.1...
3
by: Peter Oliphant | last post by:
I'm programming using MS VS VC++ 2008 Express (Beta 2) in /Cli pure mode. I've found the Screen class. With it I can very easily get the count and all the data on the various Screens attached to...
1
by: nasima khan | last post by:
Hi, i am nasima. I have got a code for setting the screen resolution of my page, but i am unable to understand. Can any one give a complete data explanation of the below code. Sub ChangeRes(X...
0
Shashi Sadasivan
by: Shashi Sadasivan | last post by:
Hi All, i Have an application functionaluty which has 4 forms which are needed to interact by the user by dragging data from these forms to one another the main form is located in the MDI Parent...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.