Solved

How to find constant, SPI_GETSCREENSAVERRUNNING?

Posted on 1998-03-31
4
685 Views
Last Modified: 2010-08-05
What is the constant, SPI_GETSCREENSAVERRUNNING represents?
0
Comment
Question by:stl
  • 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 10 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now