mlev
mlev

Reputation: 181

my C# winform needs to detect when other applications enter/exit/run-in TRUE fullscreen, prefer by events

my C# winform application needs put itself in standby mode during time other application runs in true fullscreen mode (not only maximized), like video games, video movies, powerpoint.

I need a method to detect if currently there is other application in fullscreen.

Is there a possibility to register to events which will fire when other application enters/exits fullscreen?

for both needs, I'll appreciate to have code snippets.

Upvotes: 10

Views: 1869

Answers (1)

user180326
user180326

Reputation:

According to this question "full screen mode" is not that special, just create the right type of window and the OS will treat it as full screen. Once you know that, you can see here how to detect such windows.

Upvotes: 1

Related Questions