M
michelQQA
First, this thread is not releated to C# or net framework but after
trying to post in interop and C++ workgroups, I never receive any
answer or something to start with.
I'm doing a kind of macro recording tool to record user actions in
another application. I can easily manage keyboard and basic mouse
operation with a global low level mouse/keyboard hook but i need to
trap other messages like WM_COMMAND and behing able to get
notifications (ex:CBN_SELCHANGE)
I other words I need to do exactly like Spy++ when logging windows
message of a particular handle.
I suppose I need to find a way to override the window proc of window
of an unmanaged application in a managed application. After playing
for weeks with hooks, dll, learning native things and searching all
over the net I still have no clue. Any example or the main steps
would be usefull
Thanks and sorry again for posting here.
trying to post in interop and C++ workgroups, I never receive any
answer or something to start with.
I'm doing a kind of macro recording tool to record user actions in
another application. I can easily manage keyboard and basic mouse
operation with a global low level mouse/keyboard hook but i need to
trap other messages like WM_COMMAND and behing able to get
notifications (ex:CBN_SELCHANGE)
I other words I need to do exactly like Spy++ when logging windows
message of a particular handle.
I suppose I need to find a way to override the window proc of window
of an unmanaged application in a managed application. After playing
for weeks with hooks, dll, learning native things and searching all
over the net I still have no clue. Any example or the main steps
would be usefull
Thanks and sorry again for posting here.