Solved

How to find constant, SPI_GETSCREENSAVERRUNNING?

Posted on 1998-03-31
4
708 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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