|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to lock just the keyboard system wideHello,
While I'm browsing the web my 9 mth old baby likes to hit the keyboard so I want to write a little app to lock the keyboard. This way she can keep playing with the keyboard without disturbing the PC. I plan to have an icon on the tray that I can click to enable or disable the keyboard. I tried using "KeyPreview" property and KeyPress event on a form to trap keyboard entries but this does not provide a system wide solution. Is there an API to lock the keyboard system wide but not the mouse? Thank you, Alejandro VB 6. > Is there an API to lock the keyboard system wide but not the mouse? May be this helps:http://www.mentalis.org/vbexamples/list.php?category=MISC, DSKEYBRD Juergen. Thank you Juergen, I think windows "Hooks" is the way to go.
Show quoteHide quote "Juergen Thuemmler" <t***@removethisgmx.de> wrote in message news:%2378o3TGUGHA.196@TK2MSFTNGP10.phx.gbl... >> Is there an API to lock the keyboard system wide but not the mouse? > > May be this helps: > http://www.mentalis.org/vbexamples/list.php?category=MISC, DSKEYBRD > > Juergen. >
Moving info to a web page
FTP(not boring) Produktlokalisierung - wie funktioniert's? Duplicate definition on Interface declaration Consume Web Map Service (WMS) with VB6 "Save As" question & file extensions list of files in directories? VBEvents ContextMenu MapObjects2 How to cast a ref to one type to another? VB.NET throws "Application is ambiguous" exception |
|||||||||||||||||||||||