How to manage full screen in IE via automation? (F

2019-08-14 03:27发布

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条回答
趁早两清
2楼-- · 2019-08-14 03:52

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

查看更多
登录 后发表回答