开发者

Removing the zoom option for the current page in IE

开发者 https://www.devze.com 2022-12-15 12:27 出处:网络
I implemented an ActiveX control that gets loaded when a tiff file is detected. I want to remove the IE Zoom option for the current page, the zooming will be handled by the activex itself.

I implemented an ActiveX control that gets loaded when a tiff file is detected. I want to remove the IE Zoom option for the current page, the zooming will be handled by the activex itself.

From IServiceProvider I can get a pointer to IWebBrowser2, but the only thing I can do there is to query the status of the zoom command.

Any help will b开发者_JS百科e appreciated.

Regards, Cristian


It is not possible to do this in an existing browser window. You used to be able to hide the whole status bar if you opened a popup window, but that is not allowed now because of phishing concerns.

0

精彩评论

暂无评论...
验证码 换一张
取 消