Anyone have a way to check if a B3D .exe loses focus in windows (i.e alt-tabbed out of) as it's messing up my render tweening.
Trouble is, B3D programs go idle in the task bar, so it has to somehow know the difference between a difference in millisecs (used by tweening) and an actual loss of focus.
Ditching tweening is not an option, as this needs to be fixed asap, neither is checking for alt+tab keypresses as this doesn't happen when the user clicks the program in the taskbar.
Trouble is, B3D programs go idle in the task bar, so it has to somehow know the difference between a difference in millisecs (used by tweening) and an actual loss of focus.
Ditching tweening is not an option, as this needs to be fixed asap, neither is checking for alt+tab keypresses as this doesn't happen when the user clicks the program in the taskbar.