views:

91

answers:

1

I am trying to build an IE BHO in C#. I would like to receive the WM_GETMINMAXINFO messages sent to the internet explorer window in which my BHO is running. How can this be done?

Thanks, simil

A: 

Try adding a message filter.

SLaks
Thanks for your prompt reply. Can you please explain how can a message filter be added in the context of a BHO? Isn't the message filter specific to windows forms?
simil
I'm not sure; try it.
SLaks
Looking at the source, it looks like it won't work for you. I'll delete this answer after you reply to this comment.
SLaks
It is not working. It got compiled fine. When I ran it and resized the window, it didn't get any message. It is getting messages that are sent to my "Application" (a toolbar). I tested this by catching WM_LBUTTONDOWN message. I want to catch the messages sent to the internet explorer window. Do you have any other ideas on this?
simil