my C# winform needs to detect when other applicati

2020-06-14 03:19发布

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.

1条回答
够拽才男人
2楼-- · 2020-06-14 03:36

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.

查看更多
登录 后发表回答