Re: Querying presence of a keyboard
- From: "Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx>
- Date: Thu, 19 Jul 2007 11:09:31 -0500
"Peter Bromberg [C# MVP]" <pbromberg@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:B2B836FC-D350-46B9-88EF-46BCF0DFA042@xxxxxxxxxxxxxxxx
Forgive me for sounding simplistic, but if there is no keyboard / mouse
attached to a machine running your program then how do you propose to get
user input?
The "sounds" like the classic joke,
"Keyboard not found. Press F1 to continue."
Knowing there is no keyboard... might help prevent such paradoxes. A
timeout could be substituted.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com
"Claire" wrote:
Hi,
Is there any way to query whether or not a keyboard is attached to a pc
please?
My software will be running on XP/Vista systems in an environment where
there may or may not be a keyboard/mouse attached to the system.
thank you
.
- References:
- Querying presence of a keyboard
- From: Claire
- Querying presence of a keyboard
- Prev by Date: Re: How to find out what methods, etc. a web service makes available?
- Next by Date: Re: catch notifyicon kill attempt so dispose can run
- Previous by thread: Re: Querying presence of a keyboard
- Next by thread: Re: Querying presence of a keyboard
- Index(es):
Relevant Pages
|