Welcome Guest Search | Active Topics | Sign In | Register

FullScreen Mode Options
Yohan
Posted: Monday, May 4, 2020 8:26:28 PM
Rank: Newbie
Groups: Member

Joined: 4/18/2019
Posts: 5
Hi,

I am currently using it well with your browser SDK. However, there is a requirement for Full Screen Mode.

First, even if all FullScreen Modes occur on the second monitor, the full screen status occurs on the Primary Monitor.

Secondly, as in the attached image, most SDKs show a full screen in their own window. It would be great if EO.Browser had an option that fixed its status just like the attached image.

Otherwise, please let me know if you already have this option.
Thank you.

===========================================================
I can't attach image....
It appears with Runtime Exception Dialog Box....FullScreen Mode is so good with this dialog box.
But If I press [close button], full screen with my app disappear and displayed on the primary...

eo_support
Posted: Tuesday, May 5, 2020 11:39:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

You can provide your own full screen window so that you will have full control on how and where it is displayed. To do so you will need to handle this event:

https://www.essentialobjects.com/doc/eo.webbrowser.webview.fullscreenmodechanged.aspx

Inside the event handler, you can check the event argument's FullScreen property to determine whether it is entering or leaving full screen mode.

1. If it is entering full screen mode, you must create your own window and pass your own window's handle to e.HWndParent:

https://www.essentialobjects.com/doc/eo.webbrowser.fullscreenmodechangedargs.hwndparent.aspx

2. If it is leaving full screen mode, you can destroy your own window.

Once you create your own window, you can display it however/where you want.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.