Application.Browser.IsFullScreen not changing when user presses F11 nor Esc

Answered
0
0

Hi.

I am trying to catch if user has pressed F11 to go into FullScreen or Esc to restore back. For that, I am using the Main Page Resize event and testing Application.Browser.IsFullScreen. No matter if it has gone into full screen or came back to normal, IsFullScreen is always returning false. It seems it is only set to true once I use Application.RequestFullScreen. Is there anywhere I can check if F11/Esc was pressed to enter/leave Full Screen?

Thanks.

Ivan
(Wisej 2.2.46.0 – VS 2019 – C#)

  • You must to post comments
Best Answer
0
0

There is no way.  The fullscreen api only works programmatically. All the entries you see in stackoverflow are old and either never worked or don’t work anymore. F11 is not detected at all. You can try to block F11 with an accelerator in Wisej.

  • You must to post comments
0
0

Found my way searching the forum.
It worked like a charm.

Thank you!

  • You must to post comments
0
0

Hey Luca.

Thank you.

What is this “block with an accelerator” ?

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.