如何通过自动化管理​​全屏幕的IE浏览器? (Flash播放器等) [英] How to manage full screen in IE via automation? (Flash player like)

查看:294
本文介绍了如何通过自动化管理​​全屏幕的IE浏览器? (Flash播放器等)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临着IE7全屏模式有问题。

I'm facing a problem with IE7 full screen mode.

有一个应用躺在嵌在IE中安装一个ActiveX。直到IE6,我们通过管理全屏

Got an app lying in an activeX embedded in IE. Until IE6, we managed fullscreen via

的IWebBrowser2 :: put_FullScreen(布尔bIsFull)
  这是很好很好。

IWebBrowser2::put_FullScreen(bool bIsFull) which was good and well.

但自从IE7,看来这一招去precated,因为它失去全屏的方式在标签栏回来了。

But since IE7, it seems that this trick is deprecated, as it looses the tab bar on the way back from fullscreen.

一个解决办法是去与调用

One solution would be to go with the call to

的IWebBrowser2 :: put_TheaterMode(布尔bIsFull)
  这似乎是什么在IE7抚摸F11时的情形

IWebBrowser2::put_TheaterMode(bool bIsFull) which seems to be what's done in IE7 when stroking F11

但是,这不是我想要的,因为有一个在自动隐藏模式选项卡和地址栏

But that's not what I want, since there's the tab and address bar in auto hide mode

所以我想实现真正的全屏模式,像什么在闪光灯全屏YouTube视频完成。

So I'd like to achieve a true fullscreen mode, like what's done in flash for fullscreen youtube videos.

你知道的任何方式来实现这一目标?

Do you know any way to achieve that?

推荐答案

Flash不使用浏览器进入全屏,它通过调用本机OS库做的。

Flash doesn't use the browser to enter full screen, it does it by invoking native OS libraries.

这篇关于如何通过自动化管理​​全屏幕的IE浏览器? (Flash播放器等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆