Hello,
For my child (2 years), I make a thiny game. So he can do like her dad ...
It's a simple game, when typing on keyboard, that display the letters. And
that draw a circle when move mouse ...
The game is on full screen, and I hide the task bar.
But, her random typing isn't a good random... 10 % of typing is for typing
on the windows Keys (LWin and RWin code)
I tried to ovverride the ProcessCmdKey and return true, but, Windows Keys
are always intercept by windows and display the task bar ...
Is it possible to disable these 2 keys ?
Thx 2 18380
It can be done using a global System Hook. See http://www.codeproject.com/system/hooksys.asp http://www.codeproject.com/csharp/NetWin32Hooks.asp http://www.codeproject.com/csharp/globalsystemhook.asp
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Surgery
Expect the unaccepted.
"Geoffrey" <AE**************@dufour.bewrote in message
news:eM****************@TK2MSFTNGP06.phx.gbl...
Hello,
For my child (2 years), I make a thiny game. So he can do like her dad ...
It's a simple game, when typing on keyboard, that display the letters. And
that draw a circle when move mouse ...
The game is on full screen, and I hide the task bar.
But, her random typing isn't a good random... 10 % of typing is for typing
on the windows Keys (LWin and RWin code)
I tried to ovverride the ProcessCmdKey and return true, but, Windows Keys
are always intercept by windows and display the task bar ...
Is it possible to disable these 2 keys ?
Thx
"Geoffrey" wrote:
For my child (2 years), I make a thiny game. So he can do like her dad ...
It's a simple game, when typing on keyboard, that display the letters. And
that draw a circle when move mouse ...
The game is on full screen, and I hide the task bar.
But, her random typing isn't a good random... 10 % of typing is for typing
on the windows Keys (LWin and RWin code)
I tried to ovverride the ProcessCmdKey and return true, but, Windows Keys
are always intercept by windows and display the task bar ...
Is it possible to disable these 2 keys ?
Hello Geoffrey,
We offer a .NET component FREE for non-commercial use that will enable you
to suppress the LWin and RWin keys. Using it for your daughter would surely
qualify as non-commercial use ;-) and will save you a ton of time over
writing it yourself from scratch. Check it out at: http://www.mini-tools.com/goto/input
--
Timm Martin
Mini-Tools
..NET Components and Windows Software http://www.mini-tools.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: ZubZero |
last post by:
Hello,
i have to write a utility in c++ for windows 2k/XP.
But i have 2 difficult problems.
I asked many programmers i know, but none of them was able to tell me
how i can do this.
1. I...
|
by: Dw70 |
last post by:
I need write simple program with work in background
and have only one function when it is run F1 I disable
and when I pres for example ctrl+k it (program is terminate)
maybe somebody have...
|
by: Kevin Bilbee |
last post by:
I need to know the API call to disable the CTRL-ALT-DEL in a C# windows
form.
We have created a time clock application to run on a tablet PC to replace
the windows shell, we are going to hang it...
|
by: Rich |
last post by:
Hello,
So I would like to disable a textbox on a vb.net form
without the text getting grayed out. In vb6 I could place
a textbox control on a frame control and disable the frame
leaving the...
|
by: AntoineKrige |
last post by:
Hi,
I have the following windows form code to trap the 'key press' of the
windows key (LWin). How do I stop the key event from being processed?
I'm trying to block the use of the LWin key...
...
| |
by: =?Utf-8?B?TWljaGFlbCAwMw==?= |
last post by:
I need to disable the clipboard function in Windows XP. We are having a
problem with users using CTRL+C in one program, then using CTRL+V in another.
Specifically, they type their password into...
|
by: Phoe6 |
last post by:
Hi all,
I am trying to disable the NIC card (and other cards) enabled in my
machine to test diagnostics on that card.
I am trying to disable it programmatic using python. I checked python
wmi and...
|
by: Vince C. |
last post by:
Hi all.
I've installed Bloodshed Dev-C++ on a Windows 2000 SP4 machine. I'm using
MinGW 3.4.2.
I'd like to temporarily disable standard functions to write to stderr, i.e.
for instance...
|
by: Shaba99 |
last post by:
Hey everyone,
New to this forum, but i search for answers here often.
I have a c# windows application which embeds windows media player on the form. The application (biz rule) requires that the...
|
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,...
|
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...
| |
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...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |