WindowHasMouseFocus ( win )

Returns true if the window has mouse focus, otherwise it returns false.

Example: