F
farseer
Hi,
just curious, can Keyboard hooking and a "global" message handling be
done natively with C# now?
With WM2003, for Keyboard hooking, i had to create a dll using C++
which would install a keyboard hook and that dll would in turn forward
key board events/messages back to my application's MessageWindow.
For handling windows messages from external process, a similar method
was used, in this case a dll was injected into the process we wanted to
recieve events for and that dll would subclass the wndProc. This dll
would then intercept messages and forward onto a MessageWindow in my
app.
Can these things be done differently now? i.e. can the be done solely
using C# rather relying on a dll?
thanks
just curious, can Keyboard hooking and a "global" message handling be
done natively with C# now?
With WM2003, for Keyboard hooking, i had to create a dll using C++
which would install a keyboard hook and that dll would in turn forward
key board events/messages back to my application's MessageWindow.
For handling windows messages from external process, a similar method
was used, in this case a dll was injected into the process we wanted to
recieve events for and that dll would subclass the wndProc. This dll
would then intercept messages and forward onto a MessageWindow in my
app.
Can these things be done differently now? i.e. can the be done solely
using C# rather relying on a dll?
thanks