Excellent it works thanks! Really appreciated. Shame it's a module tweak though, it would be great if BRL made this standard (or at least made the minimise icon optional.
Interestingly, because my game uses HideMouse so it can draw it's own mouse cursor, when the window is minimised, the Mac mouse cursor still disapears when it moves over where the window was, how freaky is that? I fixed that with some code that called ShowMouse when suspended was detected and HideMouse when it resumes.
OK someting else related, if I press F11 to hide all windows to show the desktop, the game continues to run and also if you move the mouse where the window was, all the buttons make mouse over noises (although they can't be clicked as focus goes to the desktop). Do you know how to detect the F11 event as I'd like to treat it like a normal suspend/resume via app lost focus or app was minimised. Thanks!
Interestingly, because my game uses HideMouse so it can draw it's own mouse cursor, when the window is minimised, the Mac mouse cursor still disapears when it moves over where the window was, how freaky is that? I fixed that with some code that called ShowMouse when suspended was detected and HideMouse when it resumes.
OK someting else related, if I press F11 to hide all windows to show the desktop, the game continues to run and also if you move the mouse where the window was, all the buttons make mouse over noises (although they can't be clicked as focus goes to the desktop). Do you know how to detect the F11 event as I'd like to treat it like a normal suspend/resume via app lost focus or app was minimised. Thanks!