The commonly accepted view is that bees can't hear, or can't hear
well. There is a small body of what seems to be rather equivocal
literature about it. The questions that arise about bees' hearing
have addressed the meaning of "queen piping sounds".
I am sure that bees can detect vibrations through their feet
and antennae, but I don't know of any work which has addressed
that in the audible range.
I don't know what the window-like structures you mention are.
I haven't noticed them. They may function as "ears", but may
also be involved in heat dissippation (like Mississippi), or
even detection. Just guesses. Cheers, Peter