gamecreator Posted July 25, 2016 Share Posted July 25, 2016 Leadwerks 2 used to have an AppSuspended() function but Leadwerks 4 has no equivalent that I could find. If a user switches out of my program I'd like to know so I can stop centering the mouse, which continues happening even outside the program (very annoying). Many games also stop music/sounds out of courtesy to the user. We have Minimize, Minimized, Maximize and Maximized. Focused would be a useful addition. 1 Quote Link to comment Share on other sites More sharing options...
reepblue Posted July 25, 2016 Share Posted July 25, 2016 You could use window->Active(); 2 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
gamecreator Posted July 25, 2016 Author Share Posted July 25, 2016 You could use window->Active(); Oh, good to know it's there! Not sure then if it's unofficial or just undocumented. Quote Link to comment Share on other sites More sharing options...
aiaf Posted December 4, 2020 Share Posted December 4, 2020 Necro this post for greater good Thanks , this fixed the problem on windows. Unfortunately Active() doesn't exist on the linux build. 1 Quote I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.