Music still playing in minimized window...
Blitz3D Forums/Blitz3D Programming/Music still playing in minimized window...
| ||
Hi, again! Music still playing in minimized window.... What can I do? |
| ||
Pause it? |
| ||
yeah... i try to process minimize event, but when game minimized, blitz code stoped... I need help :) |
| ||
in fullscreen mode |
| ||
Use API function - GetForegroundWindow... |
| ||
Why not try using one of the auto-suspend graphics modes? I think they're 6 & 7. One's fullscreen, one's windowed, and both supposedly halt the game if the window isn't active. |
| ||
No 6 - fixed windowed 7 - scaleable windowed |