List Info

Thread: C-Sharp (C#) Group: keyboard hooks in c#




C-Sharp (C#) Group: keyboard hooks in c#
user name
2006-02-15 12:39:31
Hi,

I am tryin to create a keyboard hook that sends the
keystroke ctrl +
pause/break.

I haven't used keyboard hooks before so I'm not too sure
how to use
them

public int MyKeyboardProc(int nCode, int wParam, int lParam)
        {
                // perform operation

        }

I have to implement this method in order to hook the
keyboard but I am
not sure what the parameters are ,like the virtual keycode
for WParam
not sure if you specify this or put in one that windows
already
recognises.

Any help would be appreciated

Thanks

James

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )