问题
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:
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.
来源:https://stackoverflow.com/questions/3686311/my-c-sharp-winform-needs-to-detect-when-other-applications-enter-exit-run-in-tru