I was adding mouse control to my latest game project and using the grab command to ensure that the player does not accidentally minimize the window when the mouse is not over it. This works well, however I need to know a way to get it to release the focus when the player is killed. The Gambas Wiki only mentions that the grab is ended when the user presses the esc key. Is there anyway to force this release in code?
Post your Gambas programming questions here.
1 post • Page 1 of 1