-
Subclassing
Hi,
I'm a newbie to this forum and I'm sure your advices will be very useful to me.
This is my question:
is there a way to intercept mouse messages from internet explorer in my mfc application? I need a way to catch the middle mouse button and use it for going back to the previous page or close the window. I was thinking about subclassing the internet explorer window, but I don't know how to do.
Can anyone help me please?
Thank you
-
Yes, the most obvious way would probably be using a window hook I think. But such code is typically a little tricky. Maybe codeproject has some sample code.
-
I did something with global hooking. It works fine but I can't completely override the middle mouse in ie window, I mean, when I click on middle mouse the double arrow of the autoscroll compares for some moments. I would like to avoid that.