I have a legacy ActiveX component which runs embedded in IE. Now I want to perform some action when IE window minimized and maximized by the user. Can anybody provide any clue on how to do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not an expert in this topic. But after some research what I could find was,
See this document for more info on Handling internet explorer events
In
IWebBrowser2I could find only findIWebBrowser2::FullScreenandIWebBrowser2::TheaterModeto be somewhat similar to your requirement.However, there is another property
IWebBrowser2::HWNDthat you can use to get the window handle of internet explorer.On a wild thought, (I don’t know whether its applicable for activeX controls) consider Using hooks.
Also found: IE add-on development: capturing keyboard input outside tabs