Anyone know how to read the current state of a window when passing in a handle? I checked User32.dll and can't see anything useful, but I could be wrong. SSwift, come up with anything yet?
Basically my game has a "boss" key and when pressed it minimises the app and pauses the music BUT it needs to unpause the music on maximise, hense I need to detect the event. I could try something lame like unpausing the channel every game loop (not tested yet) but does the game loop continue when the app is minimised?
Help...
|