Posts tagged ‘hook’

Hooking the keyboard message queue in compact framework code

Here is some nice code to use a keyboard hook implemented in C# for compact framework.

You can use this to catch the funny OS asigned keys like F1, F2, F3, F4, F6 and F7 (Softkey 1 and 2, Phone, End, Volume Up, Volume Down); and last but not least catch the Win Key press.

Continue reading ‘Hooking the keyboard message queue in compact framework code’ »

Hooking into the keyboard message queue

Although undocumented keyboard hooking is possible. I read an article at CodeProject about hooking and wrote some applications that uses this great possibility. One result is iHook, an application that will do something like the button shortcuts applet in windows mobile. You can define keys and what application they should start.

Continue reading ‘Hooking into the keyboard message queue’ »