How to manage full screen in IE via automation? (Flash player like)

偶尔善良 提交于 2019-12-24 06:43:59

问题


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

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

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

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(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

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?


回答1:


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



来源:https://stackoverflow.com/questions/246365/how-to-manage-full-screen-in-ie-via-automation-flash-player-like

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!