Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disable ctrl-alt-delete in win98

Posted on 2002-06-08
4
Medium Priority
?
356 Views
Last Modified: 2008-03-10
Hello,

How can I disable ctrl-alt-delete and other system keys in win98?

thanks in advance!
0
Comment
Question by:Graphics_DB
[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
4 Comments
 

Expert Comment

by:magellanLS
ID: 7064786

the following code tricks windows ,so that windows thinks a screen saver is running

UINT nPreviousState;
SystemParametersInfo (SPI SETSCREENSAVERRUNNING, TRUE,&nPreviousState, 0);// Disables

SystemParametersInfo (SPI SETSCREENSAVERRUNNING, FALSE,&nPreviousState, 0); // Enables

If you want to do this in win/nt/xp/2k you have to create a keyboard filter driver

Good Luck!

0
 

Accepted Solution

by:
magellanLS earned 280 total points
ID: 7064787
Oh sorry, there are some mistakes in the code

here is the correct code:

UINT nPreviousState;
SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, TRUE,&nPreviousState, 0);// Disables

SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, FALSE,&nPreviousState, 0); // Enables

0
 

Author Comment

by:Graphics_DB
ID: 7064791
It works :-) thanks
0
 
LVL 22

Expert Comment

by:nietod
ID: 7064834
Doesn't that dissable ALL keys?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

664 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