Hi, im not sure if i should post this in here or the Windows section.
If its in the wrong place could a mod please move it, thanks.
Im making myself a game and everythings going fine.
Its a windowed game set to maximized.
I was getting crashes when focusing onto another app while my game was still running. So i had a search about and found out about the WM_KILLFOCUS and WM_SETFOCUS messages sent when your app gets, or loses focus. So that has stopped the crashing!
If i switch to another app thats not maximized and move it around over the top of my game, the game isn't being drawn anymore so the screen gets all messed up.
Is there a certain message that windows sends to say the focus is lost COMPLETELY? So i can still draw my game if its still seen, but not in focus.
Hope that makes sense.