Set the window's global opacity factor.
Set it to "0" to hide a window. Setting it to "0xFF" makes the window opaque if it has no alpha channel.