Home > Software engineering > ATL implementation Webbrowser, cannot execwb within the response page (45, 1) close the page
ATL implementation Webbrowser, cannot execwb within the response page (45, 1) close the page
Time:10-31
Such as title, I use the ATL realizes the Webbrowser, used to display a web page, page invokes the execwb (45, 1), close the page events trigger execwb (45, 1), the page is not normally closed, can you tell me the need to achieve?
According to the normal case, for example in IE, page calls execwb (45, 1), IE the page will be closed,
And I through the IWebBrowser2, implementation of the application, to open the same page, page invokes the execwb (45, 1), it becomes not response status, did not shut down properly,
CodePudding user response:
You can directly transfer the browser controls to a blank page or other way