I was wondering how to create a hook like moeur's VB control, but to be used in c++. Also, instead of a control, I want a class that I can use like this:
Or something like that.Code:clsHook myHook (Handle)
Is this possible? I have no idea how. :(
Printable View
I was wondering how to create a hook like moeur's VB control, but to be used in c++. Also, instead of a control, I want a class that I can use like this:
Or something like that.Code:clsHook myHook (Handle)
Is this possible? I have no idea how. :(
Hook? A Windows Hook or something else?
A hook with SetWindowsHookEx. Moeur's control actually sets 3 hooks, but I don't know which ones except for a Windows Message hook...
Can you write classes? Then you should be able to do whatever Moeur's control does.
Yes, I can...but I don't know how to use DLLs, and I don't know how to translate the VB Control into C++ as a class...