Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How can I toggle the on and off state of system keys?

Posted on 1998-12-03
2
Medium Priority
?
199 Views
Last Modified: 2013-11-20
Question is the same as in the question title.
0
Comment
Question by:s6192221
[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 Comments
 

Accepted Solution

by:
justinng earned 1240 total points
ID: 1325750
try this

//--- Turn System Keys OFF ( Windows 98 Only ) ---
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, &nOldVal, 0);
//--- Turn System Keys ON ( Windows 98 Only ) ---
SystemParametersInfo(SPI_SCREENSAVERRUNNING, 0, &nOldVal, 0);

0
 

Author Comment

by:s6192221
ID: 1325751
Thanks dude!
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

719 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