I want to get the key what I have pressed. I got it through keypressed and keyup events. but i need to get through window procedure. can you help me....
How to get the key stroke
Collapse
X
-
Tags: None
-
i need to get through window procedure.
Steven -
Not sure what the problem is....
You already seem to know that you can use the Control.KeyUp event...
-FrinnyComment
-
My "guess" is that you want to hook keystrokes outside of all applications running in Windows, i.e. setup a hot key that will tell Windows to do something (like launch a program). To do this you will need to use windows API code which involves API declarations and marshalling unmanaged code. Doing this is not scary, but is not for anyone who can not supply, at least, some basic starting code and a full and clear explanation of what you want to do.
Honestly, you could be writing a keystroke logger - and no one on this forum would be very excited about helping ANYBODY (who would likely be low-level scum) do that.Comment
Comment