monurce

Can I send a key different key I pressed , Sample;

I've pressed key of "a", but when I pressed "a", application will send "b".

When I wirte the "apple", it won't write "apple" , it'll "bpple"...

But that command will go on when the form isn't active.That is , when other window is active , command of sending the other keys will go on...

So, we can do an application that can change the our keyboards completely.

Have u ever seen something like that




Re: Visual C# Express Edition To send a key different pressed

nobugz

Google for SetWindowsHookEx and WH_KEYBOARD_LL.





Re: Visual C# Express Edition To send a key different pressed

monurce

I've never said that. You've got me wrong

Your sample is locking the desktop.

I told u, sending the different key, if i click "a", it will gel "b"

sample; when I write apple, it will write "bpple" outside form. ok

and your examples for C++, google gives me wrong...

Something like that.I hope so, u got! if not, im going to u againn




Re: Visual C# Express Edition To send a key different pressed

nobugz

There's lots of things you can do by P/Invoking SetWindowsHookEx(), locking the desktop and using it in C++ is just one of them. Keep looking, it is the only way to get what you want. If you want C# samples, also search for "DllImport".