46
DotNet / Re: SFML.Net setting window active AND music loop points
« on: May 24, 2018, 03:50:05 am »
My first problem is solved, that is, when my poor games start, the window automatically gains focus ...
But what about if it lost focus while the game is running? ... I have to click on the screen ... also it is a bit annoying that a window appears or for some reason the game window loses focus
So it would be very nice that comes the SetFocus() function for SFML.Net to be able to regain focus when it's lost (I saw there is a LostFocus event, that would be used with it) ... If I understood well it will be added to next .Net update ... I hope so
But what about if it lost focus while the game is running? ... I have to click on the screen ... also it is a bit annoying that a window appears or for some reason the game window loses focus
So it would be very nice that comes the SetFocus() function for SFML.Net to be able to regain focus when it's lost (I saw there is a LostFocus event, that would be used with it) ... If I understood well it will be added to next .Net update ... I hope so