473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Keyboard = Stop

Can I stop the keyboard for anytime?
I want to restrict the Keyboard @ WinXP with C.

Anyone a idea?
Nov 14 '05 #1
6 1369
Stefan S. <st****@scheddy.de> scribbled the following:
Can I stop the keyboard for anytime?
I want to restrict the Keyboard @ WinXP with C. Anyone a idea?


This has nothing whatsoever to do with C. Please ask again in
comp.os.ms-windows.programmer, they'll either answer you or redirect you
further.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"Immanuel Kant but Genghis Khan."
- The Official Graffitist's Handbook
Nov 14 '05 #2


Stefan S. wrote:
Can I stop the keyboard for anytime?
I want to restrict the Keyboard @ WinXP with C.

Anyone a idea?


int main ()
{
puts ("If running on XP, please unplug your keyboard now.");

/* Your code here */

puts ("If you previously unplugged your keyboard, you may plug it in
again now.");
return 0;
}

Nov 14 '05 #3
<ph*******@btinternet.com> wrote in message
news:c1*******************@news.demon.co.uk...

Stefan S. wrote:
Can I stop the keyboard for anytime?
Where is it running?
I want to restrict the Keyboard @ WinXP with C.

Anyone a idea?


int main ()
{
puts ("If running on XP, please unplug your keyboard now.");

/* Your code here */

puts ("If you previously unplugged your keyboard, you may plug it in
again now.");
return 0;
}


This a platform-dependent solution. It would be hard to make it work on my
laptop, even though it happens to be running Windows XP.

Peter
Nov 14 '05 #4
On Fri, 20 Feb 2004 19:58:47 -0000, in comp.lang.c , "Peter Pichler"
<pi*****@pobox.sk> wrote:
This a platform-dependent solution. It would be hard to make it work on my
laptop, even though it happens to be running Windows XP.


Dont they have screwdrivers in your part of the woods?

<gd&r>

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 14 '05 #5
Stefan S. wrote:

Can I stop the keyboard for anytime?
I want to restrict the Keyboard @ WinXP with C.

Anyone a idea?


You've gotten the standard answers already. Now I have a philosophical
question for you. Who do you think you are to block someone's keyboard?
If you don't want to know what I am typing, don't ask. If you want to
discard what I am typing, read it and discard it. Why do you want to
turn my keyboard off? What would you stop me from doing?
--
Joe Wright http://www.jw-wright.com
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Nov 14 '05 #6
Joe Wright wrote:
Stefan S. wrote:

Can I stop the keyboard for anytime?
I want to restrict the Keyboard @ WinXP with C.

Anyone a idea?


You've gotten the standard answers already. Now I have a philosophical
question for you. Who do you think you are to block someone's keyboard?
If you don't want to know what I am typing, don't ask. If you want to
discard what I am typing, read it and discard it. Why do you want to
turn my keyboard off? What would you stop me from doing?


Well, he'd certainly stop you from buying his software. :-)
--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 14 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: asdasd | last post by:
Hello there, I'm hoping someone might be able to help me out. Its been awhile since I've programmed in visual basic (and roughly at that)... I want to create a program that will allow me to...
0
by: magician | last post by:
hi can any one suggest a way to utilize the keyboard to control an animation for example in a space invaders game. when a key is pressed and hed at the moment, there is one movement and then a...
1
by: Michael J Whitmore | last post by:
Greetings, I have a very simple question. How do you simulate a user input to turn off a screen saver in Windows (either a mouse movement, mouse click, or keyboard input)? I promise I searched...
1
by: Richard Coutts | last post by:
I have a Continous Form with 5 or so fields for each record, in a line from left to right. Because the Contuous Form lists several records at once, the form looks pretty much like a Datasheet. ...
3
by: JV | last post by:
I have an ASP.NET web page where IE keyboard navigation does not appear to work as it should. Normally you can tab through hyperlinks on a web page, and press <ENTER> to activate the current...
3
by: Per Larsson | last post by:
Hi! I've developed an application, and I want to use a semi opac form to show the help. The idea is to show the transparent help form on top (TopMost = True)and still be able to work with the...
0
by: Fromethius | last post by:
Hi everyone. For the past day I've been trying to find a good way to handle keyboard input. Naturally, I wanted to just use WM_KEYDOWN and WM_KEYUP to handle my events, but they proven to have...
2
by: John Fisher | last post by:
Hi Group, I have been absent a while, mainly because I have been getting better at figuring out my own Python problems. But not this one... I have a timed loop performing certain tasks until a...
3
by: NaN | last post by:
I've been trying to use _kbhit() but it didn't do what I thought it would from books, "Detects whether a keypress is available for reading." Herbert Schildt says, "If the user has pressed a key,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.