Posted: Wed Jul 10, 2013 6:01 pm Post subject: Stop a game from pausing when not in focus
I want to stop a game from pausing when it's not in focus. I've checked for calls for GetActiveWindow() and GetForegroundWindow() and removing these calls still causes the game to pause when not in focus.
Dark byte suggested that maybe it's using WM_ACTIVATE or WM_KILLFOCUS. I don't believe WM_ACTIVATE is being used because if I hit the show desktop key the game still pauses when it should technically still have focus...perhaps I'm incorrect.
Either way, my question is how can I check (and catch) if the program is waiting for a WM_ACTIVATE or WM_KILLFOCUS message?
Also, could there be any other 'general' methods the game could be using to detect it's not in focus?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum