Why doesn't HasFocus() work properly in BP?

BlitzPlus Forums/BlitzPlus Programming/Why doesn't HasFocus() work properly in BP?

It seems that HasFocus does not work when the app is minimized, but it will work otherwise. This is different from the behavior of Blitz3D.

In other words, if the app is open, and you click on another window, hasfocus will return false. However, if the app is minimized, it will not return false. Nor will it return false if another app is clicked on while it is minimized. It will only tell you if the app has lost focus when the app is actually in a non-minimized state.