Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…

579 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