How do I get a form to capture ALL keyboard input?

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2007
Posts: 1,614
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 131
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

How do I get a form to capture ALL keyboard input?

 
0
  #1
Mar 30th, 2007
Hello

I have two forms currently. One is "normal" and the other is set to topmost and invisible. I want the topmost form to capture all keyboard input, but the form underneath should still be operational (have methods called, values changed, have it's buttons clicked etc)

That in itself I would be happy with.

But it would be really nice if after the top form handles th input, it still has a way to pass it to the "normal" form underneath.

Well thanks for reading. Hope you can think of something
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: How do I get a form to capture ALL keyboard input?

 
0
  #2
Mar 31st, 2007
You mean like a pretend keylogger?
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,614
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 131
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: How do I get a form to capture ALL keyboard input?

 
0
  #3
Mar 31st, 2007
Yeah that could work,

but more specifically, I'd want it to capture only input intended for my application (I guess I was misleading when I said "ALL").

still, either way, I'd take right now.

Thanks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC