Question by
uglycomputer · Nov 05, 2019 at 08:06 AM ·
windowspausestandalonewindowfocus
How to detect when a standalone build is minimized? (Windows)
I'd like to detect when a standalone build is minimized, as opposed to just losing focus. OnApplicationPause() and OnApplicationFocus() don't seem to distinguish between these two states.
Is there a Windows API I could call or some other strategy to detect minimization?
Comment
Your answer
Follow this Question
Related Questions
Check When Game Window is Closed for Windows 0 Answers
windows Build Smartscreen Error 0 Answers
Screen.SetScreenResolution breaks the view 0 Answers
Hide the curser the moment i press play not having to press the play window 0 Answers
Unity windowed mode size is different on different screen resolutions 1 Answer