?
Solved

How to find constant, SPI_GETSCREENSAVERRUNNING?

Posted on 1998-03-31
4
Medium Priority
?
713 Views
Last Modified: 2010-08-05
What is the constant, SPI_GETSCREENSAVERRUNNING represents?
0
Comment
Question by:stl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:tward
ID: 1460047
These are the only SPI Constants that Exist:

#define SPI_GETBEEP                    1
#define SPI_SETBEEP                    2
#define SPI_GETMOUSE                    3
#define SPI_SETMOUSE                    4
#define SPI_GETBORDER                    5
#define SPI_SETBORDER                    6
#define SPI_GETKEYBOARDSPEED             10
#define SPI_SETKEYBOARDSPEED             11
#define SPI_LANGDRIVER                   12
#define SPI_ICONHORIZONTALSPACING   13
#define SPI_GETSCREENSAVETIMEOUT   14
#define SPI_SETSCREENSAVETIMEOUT   15
#define SPI_GETSCREENSAVEACTIVE      16
#define SPI_SETSCREENSAVEACTIVE       17
#define SPI_GETGRIDGRANULARITY             18
#define SPI_SETGRIDGRANULARITY             19
#define SPI_SETDESKWALLPAPER             20
#define SPI_SETDESKPATTERN             21
#define SPI_GETKEYBOARDDELAY             22
#define SPI_SETKEYBOARDDELAY             23
#define SPI_ICONVERTICALSPACING        24
#define SPI_GETICONTITLEWRAP            25
#define SPI_SETICONTITLEWRAP            26
#define SPI_GETMENUDROPALIGNMENT 27
#define SPI_SETMENUDROPALIGNMENT    28
#define SPI_SETDOUBLECLKWIDTH          29
#define SPI_SETDOUBLECLKHEIGHT          30
#define SPI_GETICONTITLELOGFONT     31
#define SPI_SETDOUBLECLICKTIME          32
#define SPI_SETMOUSEBUTTONSWAP          33
#define SPI_SETICONTITLELOGFONT     34
#define SPI_GETFASTTASKSWITCH       35
#define SPI_SETFASTTASKSWITCH       36
0
 

Author Comment

by:stl
ID: 1460048
This is a new one.
0
 
LVL 7

Accepted Solution

by:
tward earned 20 total points
ID: 1460049
OK, got it from the APILoader that comes with VB4:

SPI_SCREENSAVERRUNNING=97

*** Don't know why it is not GET...
0
 

Author Comment

by:stl
ID: 1460050
I already got SPI_SCREENSAVERRUNNING it is used to tell the system that a saver is running, SPI_GETSCREENSAVERRUNNING is to find out whether a saver is running.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question